-
Notifications
You must be signed in to change notification settings - Fork 44
add swagger doc #356
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
add swagger doc #356
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
d512ec5 to
6175d65
Compare
vroldanbet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it and it looks good. The night mode is difficult to parse visually and does not have good contrast:
Left some minor suggestions and a couple of non blockers.
I'm not well-versed in UI-related matters, so perhaps @samkim or @alecmerdler could take a look at the technical implementation.
| "postman": { | ||
| "title": "Postman Collection", | ||
| "href": "https://www.postman.com/authzed/workspace/spicedb/overview", | ||
| "newWindow": true | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Postman collection only includes HTTP stuff; perhaps it could be a child of the HTTP API, but I'm also OK as it is
| "title": "HTTP API Reference", | ||
| "href": "https://www.postman.com/authzed/workspace/spicedb/overview", | ||
| "newWindow": true | ||
| "title": "HTTP API Reference" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make it clear that this is the SpiceDB HTTP API? Now that we have Cloud API around, which is also HTTP, the titles seem confusing. Proposal:
- SpiceDB gRPC API Reference
- SpiceDB HTTP API Reference
- Authzed Cloud HTTP API Reference
| "newWindow": true | ||
| "title": "HTTP API Reference" | ||
| }, | ||
| "cloud-api": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a blocker / for a follow up: now that we embed the SpiceDB HTTP API using Swagger, we should probably do the same with the Authzed Cloud API
|
@vroldanbet thanks for the review! I had forgotten that dark mode existed. Unfortunately, it's not supported out of the box swagger-api/swagger-ui#5327. And i'm not a CSS wizard to hack around it 😆 |
tstirrat15
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. Thank you!

Uh oh!
There was an error while loading. Please reload this page.