Restructure routers and OpenAPI support #320
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
parasitepool/para!320
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "parabit/restructure-routers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Only thing that will change is moving the api browser page behind a check for !IS_PROD while leaving the direct route to the OAS spec in place.
Yes, I added it as I know you like having a top-level overview.
just serverthen navigate to 127.0.0.1:8080/swagger-ui@ -29,2 +29,4 @@serde_json = "1.0.140"[features]swagger-ui = ["dep:utoipa-swagger-ui"]It sets the
utoipa-swagger-uidependency to required if the feature is set instead of it being optional as it is set currently. Production build lacks that feature so it won't build that dependency.@ -29,2 +29,4 @@serde_json = "1.0.140"[features]swagger-ui = ["dep:utoipa-swagger-ui"]utoipa-swagger-ui = { version = "9.0.2", features = ["axum"], optional = true }