You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// pseudo code that does not appear to function as expected.use(swagger({documentation: {basePath: BASE_PATH,info: {}}}))
The basePath does not appear to be a property of the defined type for the documentation configuration, but this is where it seems to logically appear in the swagger configuration.
The text was updated successfully, but these errors were encountered:
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)
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.
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.The text was updated successfully, but these errors were encountered: