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] SubscriptionParams exclusion issue #3

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

[Schema] SubscriptionParams exclusion issue #3

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 sentences:

  • timeInterval: if watchedAttributes is present it shall not appear (0 cardinality)
  • watchedAttributes: if timeInterval is present it shall not appear (0 cardinality)

Usage of 'oneOf' is desired to solve this issue but is not supported by swagger 2.0

  • "SubscriptionParamsExclusion_correct_definition_for_SubscriptionParams_not_compilable_in_swagger_2_0" drafts the representation using oneOf
  • There is another way to represent this?
@FRDavid FRDavid changed the title [Schema] SubscriptionParams exclusion [Schema] SubscriptionParams exclusion issue May 30, 2018
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