3 ms·
https://github.com/zalando-stups/pierone/blob/master/resources/api/pierone-api.yaml https://github.com/zalando-stups/pierone/blob/master/resourc... PierOne is
by sarnowski 11y ago
https://github.com/zalando-stups/pierone/blob/master/resources/api/pierone-api.yaml https://github.com/zalando-stups/pierone/blob/master/resourc...
PierOne is a Docker registry in Clojure with S3 backend and OAuth support. I wrote swagger1st[0] which is used there. Swagger supports authorization definitions via scopes. Besides that, you can only define required basic auth or API key usage for authentication but not for authorisation.
Swagger defines various places, where you can add own x-* attributes to fill in your own logic if swagger is not expressive enough.
[0] https://github.com/sarnowski/swagger1st https://github.com/sarnowski/swagger1st
- Abundnce10 11y agoAwesome. Thanks for sharing!