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 validation error during providers listing when there are no providers #339

Closed
fmigneault opened this issue Sep 22, 2021 · 0 comments · Fixed by #342
Closed

Schema validation error during providers listing when there are no providers #339

fmigneault opened this issue Sep 22, 2021 · 0 comments · Fixed by #342
Assignees
Labels
feature/oas Issues related to OpenAPI specifications. triage/bug Something isn't working

Comments

@fmigneault
Copy link
Collaborator

Describe the bug

When there are not WPS providers registered in the database, the returned list empty.
Because that list is composed of oneOf[string-name, detail-object], the schema validation during deserialization seems to fail (conflict / cannot pick one).

Context

  • Version 4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/oas Issues related to OpenAPI specifications. triage/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant