Open jcarpe opened 6 months ago
we should also be setting basePath
at root for swagger 2.0 the specification, so we can keep the same paths for the endpoints but not have the basePath part of it for the sidebar for example (or swagger ui collapsable sections)
https://swagger.io/docs/specification/2-0/api-host-and-base-path/
Just a rather broad update/note here. I've actually been having better success following the 3.0 specification. Still not a resolution to the above though.
Any work around so I can set the base path accordingly to it? thanks in advance!
Bun v1.0.15 Elysia: v0.8.8 Elysia/swagger: v0.8.0
When adding a prefix to my Elysia configuration:
I believe I would need to be able to then apply a
basePath
configuration per the Swagger object config: https://swagger.io/specification/v2/The
basePath
does not appear to be a property of the defined type for thedocumentation
configuration, but this is where it seems to logically appear in the swagger configuration.