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

TS29520_Nnwdaf_EventsSubscription: invalid schemas for DispersionType, DispersionClass #49

Open
std-move opened this issue Oct 11, 2022 · 0 comments

Comments

@std-move
Copy link

std-move commented Oct 11, 2022

DispersionType's schema is not sound - for enum values specified in the first oneOf item (such as DVDA), both schemas match, but for oneOf to be valid, exactly 1 schema needs to match.

    DispersionType:
      oneOf:
      - type: string
        enum:
          - DVDA
          - TDA
          - DVDA_AND_TDA
      - type: string

This should probably be anyOf instead of oneOf. Analogously for DispersionClass.

The problem is still present in the latest Nwdaf OpenAPI release (17.8).

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