-
- Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [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