14 lines
733 B
Markdown
14 lines
733 B
Markdown
This release fixes the OpenAPI description served at `/openapi.json`, whose response schemas were empty.
|
|
|
|
## Improvements and fixes
|
|
|
|
- Every successful response in `/openapi.json` now has a schema (object properties, required keys, array items and scalar types) instead of an empty one, so client generators produce typed models. The schemas are inferred from the sample responses of the API reference.
|
|
|
|
## Upgrading
|
|
|
|
- Replace the binary, or pull the new image. No schema migration and no new environment variable.
|
|
|
|
## Known limitations
|
|
|
|
- Because the schemas come from sample responses, a field that is `null` in a sample is typed `null`, a field missing from a sample is missing from its schema, and timestamps are plain strings.
|