should NOT have additional properties additionalProperty: components
See original GitHub issueUsing the example under ‘Common Parameters for Various Paths’ - https://swagger.io/docs/specification/describing-parameters/
Schema error should NOT have additional properties
additionalProperty: components
Jump to line 0
This is on https://editor.swagger.io/ so I presume latest version?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Swagger Schema error should NOT have additional properties
The components keyword is used in OpenAPI 3.0. In OpenAPI/Swagger 2.0, reusable schemas live under definitions : "definitions": { "myEndPoint": ...
Read more >Should NOT have additional properties: component ... - GitHub
The swagger editor does not seem to be parsing OAS3 responses correctly. I have the following yaml: swagger: '2.0' info: title: Document ...
Read more >"Should not have additional property" error even t...
Hello everyone, i am trying to add schema and I keep getting error that I have additional property even though I am following...
Read more >OpenAPI Specification - Version 3.0.3 - Swagger
The patch version SHOULD NOT be considered by tooling, making no distinction between 3.0.0 and ... Primitives have an optional modifier property: format...
Read more >Schema validation reference for object types
The schema does not have a properties property, which is mandatory. ... The schema contains the additionalProperties property and the value for that ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@poppahorse that doc is for OpenAPI 3.0.0. If you use OpenAPI/Swagger 2.0, check out https://swagger.io/docs/specification/2-0/describing-parameters/
@tonystaark I’d recommend 3.0 — 2.0 is no longer being updated by the OpenAPI Initiative, and will only age further.
Locking this, as it is very old and resolved.