Skip to content
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

Semantic error with array attributes #54

Open
gboston opened this issue May 15, 2018 · 3 comments
Open

Semantic error with array attributes #54

gboston opened this issue May 15, 2018 · 3 comments

Comments

@gboston
Copy link

gboston commented May 15, 2018

When copying the swagger.json from the example, I get the following semantic error:

Semantic error at definitions.photos.properties.attributes.properties.tags
Schemas with 'type: array', require a sibling 'items: ' field

Seems like the tags attribute doesn't get the required items field.

@championswimmer
Copy link
Member

championswimmer commented May 16, 2018 via email

@gboston
Copy link
Author

gboston commented May 16, 2018

We're using Apigee and this doesn't support Swagger v3. I think this applies to a lot of tooling that doesn't support Swagger v3. Will future updates still support Swagger v2?

@championswimmer
Copy link
Member

We will support both, don't worry :)

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

No branches or pull requests

2 participants