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

[Schema] EntityInfo definition issue #2

Open
FRDavid opened this issue May 30, 2018 · 0 comments
Open

[Schema] EntityInfo definition issue #2

FRDavid opened this issue May 30, 2018 · 0 comments

Comments

@FRDavid
Copy link
Contributor

FRDavid commented May 30, 2018

Current definition does not matches the sentece "At least one of the JSON members below
shall be present".

  • anyOf solves this? Theoretically is for "one or more" but is not supported by Swagger 2.0.
    • "EntityInfo_correct_definition_not_compilable_in_swagger_2_0" drafts the representation using anyOf
  • There is another way to represent this?
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

1 participant