File tree Expand file tree Collapse file tree
fern/products/cli-api-reference/cli-changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 5.37.0
2+ ** ` (feat): ` ** Propagate the per-spec ` namespace: ` declared in ` generators.yml `
3+ through the raw specs manifest mounted into generator containers.
4+ ` RawSpecsManifestEntry ` now carries an optional ` namespace ` field
5+ populated from ` OpenAPISpec.namespace ` (also ` OpenRPCSpec.namespace `
6+ and ` GraphQLSpec.namespace ` ). Enables generators that opt into
7+ ` generatorWantsSpecs ` to route multi-spec workspaces by their
8+ workspace-declared namespace instead of inferring one from the
9+ runner-assigned filename. The new ` fernapi/fern-cli ` generator
10+ uses this to emit ` .spec_under("<ns>", ...) ` in the generated
11+ ` main.rs ` when the user namespaces their specs.
12+
13+
14+ ** ` (fix): ` ** Skip copying zero-byte ` snippet.json ` stubs from the workspace
15+ temp dir into the user's generated output. The local workspace
16+ runner pre-creates an empty ` snippet.json ` file and bind-mounts
17+ it into the generator container so the generator can optionally
18+ write per-endpoint code samples. Generators that emit a CLI
19+ binary (or any output without call-site snippets) leave it empty
20+ — copying the empty stub left a confusing 0-byte ` snippet.json `
21+ in the user's output. The runner now stat's the tmp file and
22+ skips the copy when it's empty.
23+
24+
125## 5.36.1
226** ` (fix): ` ** Fix OpenAPI 3.1 importer to inherit path-level parameters (headers, query params) into operations.
327Previously, only operation-level parameters were processed, causing path-level headers like
You can’t perform that action at this time.
0 commit comments