-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hey! I'm was trying to get a good handle on loco.rs and this tripped me up for a bit, so I wanted to report it.
I was trying to us the Scalar UI with this config:
initializers:
openapi:
scalar:
url: /scalar
And nothing was happening. /scalar was just giving me a 404. Sadly, there was no feedback or anything to help guide me, so I just tried moving code over from the example and finally got it working with all the UI options defined:
# Full config required even if only using one UI
initializers:
openapi:
redoc:
url: /redoc
scalar:
url: /scalar
swagger:
spec_json_url: /api-docs/openapi.json
This worked. Anyway, this seems like a bug? At the least it feels like it shouldn't fail silently?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels