0.42.8

(fix): The API V2 configuration (in beta) now supports global header overrides. This fixes a bug where those header overrides were getting dropped in certain cases.

generators.yml
1api:
2 headers:
3 X-API-VERSION: string
4 specs:
5 - openapi: /path/to/openapi
6 overrides: /path/to/overrides

0.42.7

(feat): The API V2 configuration (in beta) now supports global header overrides. To specify global headers that are not in your OpenAPI spec, simply add the following block in your generators.yml:

generators.yml
1api:
2 headers:
3 X-API-VERSION: string
4 specs:
5 - openapi: /path/to/openapi
6 overrides: /path/to/overrides

0.42.6

(fix): Removes extraneous conditional error within namespacing configuration

0.42.5

(feat): Adds additional metadata retrievable by fern generator get so you can now get the language and the target repo.

0.42.4

(fix): Namespaced APIs now:

  • No longer contain duplicative nesting of some endpoint within another package of the same name as the namespace
  • Respect the x-fern-sdk-group-name annotation for endpoints

0.42.3

(fix): The OpenAPI importer now supports handling encoding on multipart requests. Previously, the generators would not respect the contentType field for each form input. But, now they do.

1requestBody:
2 content:
3 multipart/form-data:
4 schema:
5 type: object
6 properties:
7 file:
8 type: string
9 format: binary
10 description: The file to upload
11 encoding:
12 file:
13 contentType: "application/octet-stream"

(fix): The OpenAPI importer now correctly parses descriptions of multipart form requests. Previously these descriptions would be ignored.

For example, previously the description The file to upload would be ignored in the example below.

1requestBody:
2 content:
3 multipart/form-data:
4 schema:
5 type: object
6 properties:
7 file:
8 type: string
9 format: binary
10 description: The file to upload

0.42.2

(fix): Error bodies are now appropriately namespaced as well!