question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

should NOT have additional properties additionalProperty: components

See original GitHub issue

Using 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:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
hkosovacommented, Aug 8, 2017

@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/

0reactions
shockeycommented, Sep 28, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found