Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Jan 15, 2025
1 parent bece291 commit 09ec932
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 51 deletions.
3 changes: 2 additions & 1 deletion packages/parsers/src/openrpc/1.x/MethodConverter.node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { isNonNullish } from "@fern-api/ui-core-utils";
import { MethodObject } from "@open-rpc/meta-schema";
import { camelCase } from "es-toolkit";
import { UnreachableCaseError } from "ts-essentials";
import { FernRegistry } from "../../client/generated";
import { SchemaConverterNode, ServerObjectConverterNode } from "../../openapi";
Expand Down Expand Up @@ -103,7 +104,7 @@ export class MethodConverterNode extends BaseOpenrpcConverterNode<
// This is a basic implementation that needs to be expanded
return {
id: FernRegistry.EndpointId(this.input.name),
displayName: this.input.name,
displayName: camelCase(this.input.name),
method: "POST",
path: [{ type: "literal", value: "" }],
auth: undefined,
Expand Down
Loading

0 comments on commit 09ec932

Please sign in to comment.