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

use blob schemas where possible in API validation #1083

Open
bhearsum opened this issue Dec 20, 2019 · 0 comments
Open

use blob schemas where possible in API validation #1083

bhearsum opened this issue Dec 20, 2019 · 0 comments
Labels
admin admin app & api (aus4-admin.mozilla.org) blobs release blob schemas/code

Comments

@bhearsum
Copy link
Contributor

We've got jsonschemas that can validate all of the different types of Release blobs. It would be great if we could use those as part of the swagger specs, because it would allow us to generate clients that could do client-side blob validation, which can make clients much friendlier.

Swagger only supports a subset of jsonschema, so it may not be possible for all of the current blob types.

(Imported from https://bugzilla.mozilla.org/show_bug.cgi?id=1381514)

@bhearsum bhearsum added admin admin app & api (aus4-admin.mozilla.org) blobs release blob schemas/code labels Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin admin app & api (aus4-admin.mozilla.org) blobs release blob schemas/code
Projects
None yet
Development

No branches or pull requests

1 participant