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

Swagger UI #632

Closed
BWStearns opened this issue Jun 29, 2024 · 4 comments
Closed

Swagger UI #632

BWStearns opened this issue Jun 29, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@BWStearns
Copy link
Contributor

BWStearns commented Jun 29, 2024

Feature Request

I find it really helpful to have SwaggerUI for my APIs. It especially helps for working with frontend devs who might not speak Rust.

Utopia-swagger-ui looks like a good option and they already have an Axum integration so it seems like a

There are other swagger-ui implementations in Rust but Utopia looks like the closest to a drop-in solution.

Related issue #612.

@BWStearns BWStearns added the enhancement New feature or request label Jun 29, 2024
@shakhzodkudratov
Copy link

Hello, I'm also doing a research in this field. Try to use poem with its built-in openapi support. It is a pleasure to me after utoipa, where you need to manually wire utoipa itself separately and type every parameter, property. utoipa is unsound, it doesn't make checks and lies (mostly because you forgot to fix some routes)

@jondot jondot added this to the 0.7.0 milestone Jul 13, 2024
@Heiss
Copy link

Heiss commented Aug 10, 2024

Hello, I'm also doing a research in this field. Try to use poem with its built-in openapi support. It is a pleasure to me after utoipa, where you need to manually wire utoipa itself separately and type every parameter, property. utoipa is unsound, it doesn't make checks and lies (mostly because you forgot to fix some routes)

Maybe should give aide a try. I do not have time to test it with loco right now, but was discussed in axum issues already. The examples seems very promissing to me.

@jondot jondot modified the milestones: 0.7.0, 0.8.0 Aug 12, 2024
@depth-liu
Copy link

salvo is another good alternative with very nice OpenAPI integration and is simple to use.

@jondot jondot modified the milestones: 0.8.0, 0.9.0 Sep 1, 2024
@jondot jondot modified the milestones: 0.9.0, 0.10.0 Sep 19, 2024
@jondot jondot modified the milestones: 0.10.0, backlog Oct 13, 2024
@jondot
Copy link
Contributor

jondot commented Oct 14, 2024

We are now concluding this with https://github.com/loco-rs/loco/tree/master/examples/demo#openapi-with-utoipa
If anyone wants to work on a PR that gets the "holy grail" of deriving a spec from a live API, we'll be happy to look at it (see more here: #778)

@jondot jondot closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants