Skip to content

Conversation

@miparnisari
Copy link
Contributor

@miparnisari miparnisari commented Jun 3, 2025

image

@vercel
Copy link

vercel bot commented Jun 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2025 11:39pm

Copy link
Contributor

@vroldanbet vroldanbet left a 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:

image

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.

Comment on lines +10 to 14
"postman": {
"title": "Postman Collection",
"href": "https://www.postman.com/authzed/workspace/spicedb/overview",
"newWindow": true
}
Copy link
Contributor

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"
Copy link
Contributor

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": {
Copy link
Contributor

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

@miparnisari
Copy link
Contributor Author

@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 😆

Copy link
Contributor

@tstirrat15 tstirrat15 left a 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!

@miparnisari miparnisari merged commit 4a10ed1 into main Jun 5, 2025
9 of 10 checks passed
@miparnisari miparnisari deleted the add-swagger branch June 5, 2025 18:16
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

Successfully merging this pull request may close these issues.

4 participants