Skip to content

Commit

Permalink
fix: remove Request Body field from llms-full.txt generation. (#2043
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eyw520 authored Jan 21, 2025
1 parent 4f8c634 commit 9f9d5a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
14 changes: 0 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,6 @@ To run the integration tests: `pnpm test:ete`.

Many of our tests rely on [Vite](https://vitejs.dev/) snapshots. To rewrite snapshots, use `-u`: `pnpm test -u` and `pnpm test:ete -u`.

### CLI

To build the CLI, run either:

- `pnpm dist:cli:dev`. This compiles and bundles a CLI that communicates with our dev cloud environment. The CLI is outputted to `packages/cli/cli/dist/dev/cli.cjs`.

- `pnpm dist:cli:prod`. This compiles and bundles a CLI that communicates with our production cloud environment. The CLI is outputted to `packages/cli/cli/dist/prod/cli.cjs`.

To run the locally-generated CLI, run:

```
FERN_NO_VERSION_REDIRECTION=true node <path to CLI> <args>
```

### Docs UI

To build and run the NextJS docs UI, run:
Expand Down
7 changes: 0 additions & 7 deletions packages/fern-docs/bundle/src/server/getMarkdownForPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,6 @@ export function endpointDefinitionToMarkdown(
`- ${pascalCaseHeaderKey(param.key)}${getShorthand(param.valueShape, types, param.description)}`
)
.join("\n"),
endpoint.requests?.[0] != null ? "## Request Body" : undefined,
typeof endpoint.requests?.[0]?.description === "string"
? endpoint.requests?.[0]?.description
: undefined,
endpoint.requests?.[0] != null
? `\`\`\`json\n${JSON.stringify(endpoint.requests[0].body)}\n\`\`\``
: undefined,
endpoint.responseHeaders?.length ? "## Response Headers" : undefined,
endpoint.responseHeaders
?.map(
Expand Down

0 comments on commit 9f9d5a9

Please sign in to comment.