Skip to content

Fix invalid example #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fix invalid example #559

wants to merge 1 commit into from

Conversation

Maks3w
Copy link
Contributor

@Maks3w Maks3w commented Feb 10, 2016

http://online.swagger.io/validator?url=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-with-external-docs.json

Swagger Error
Missing required property definition: name
Jump to line 147
Details
Object
code: "OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION"
message: "Missing required property definition: name"
path: Array [4]
level: 900
type: "Swagger Error"
description: "Missing required property definition: name"
lineNumber: 147

http://online.swagger.io/validator?url=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-with-external-docs.json

>  Swagger Error
Missing required property definition: name
Jump to line 147
Details
 Object
code:  "OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION"
message:  "Missing required property definition: name"
 path: Array [4]
level: 900
type:  "Swagger Error"
description:  "Missing required property definition: name"
lineNumber: 147
@jharmn
Copy link
Contributor

jharmn commented Feb 10, 2016

FYI this and many other issues in samples are awaiting review/merge in https://github.com/OAI/OpenAPI-Specification/pull/389/files
/cc @webron

@Maks3w
Copy link
Contributor Author

Maks3w commented Feb 11, 2016

Thx. I'll keep this open because its more simple and has a better chance of be merged.

Could you edit #389 description and append to the end Close #559? So if your PR is merged before this is closed

@jharmn
Copy link
Contributor

jharmn commented Feb 11, 2016

@Maks3w done. TIL how to close related PRs with commit messages ;)

@webron webron closed this in 47a268c Feb 13, 2016
@Maks3w Maks3w deleted the patch-1 branch February 13, 2016 07:45
AndersDJohnson pushed a commit to AndersDJohnson/OpenAPI-Specification that referenced this pull request Apr 8, 2019
Cleaning up samples, parity between yaml and json - Close OAI#559
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants