You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
composed schemas incorrectly include extra properties when the should only include self schema properties
It looks like they include composed schema properties
Keeping these separate is necessary for correct json schema validation. One must check that:
types conform to any constraints at the composed schema level
validations conform to any constraints at the composed schema level
payload properties match properties defined at the composed schema level
additional properties match additionalProperties constraints at the composed schema level (omitted additionalProperties allows any type to be ingested)
defined composed schemas must validate to the payload
openapi-generator version
master 3.1.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered:
spacether
changed the title
[BUG] ComposedSchema vars incorrectly include extra properties
[BUG] ComposedSchema vars incorrectly includes extra properties
Feb 23, 2021
Bug Report Checklist
Description
composed schemas incorrectly include extra properties when the should only include self schema properties
It looks like they include composed schema properties
Keeping these separate is necessary for correct json schema validation. One must check that:
openapi-generator version
master 3.1.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: