Skip to content

4.0.5

Choose a tag to compare

@jaapromijn jaapromijn released this 27 Mar 09:30
· 3 commits to 4.x since this release

fix: use named $ref schemas in OpenAPI responses instead of inline anonymous objects

Replace inline anonymous object schemas in the 200 responses of POST /api/register and GET /api/account/details with named $ref references. Inline schemas caused code generators to fall back to Map<String, dynamic> and incorrectly call dynamic.fromJson().

  • Register: remove inline token schema from 200 response (no response body)
  • AccountDetails: replace inline email schema with $ref: '#/components/schemas/AccountDetails'