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
Hello! I checked examples/tutorials/todo-list/server-complete source codes and did not find api property useSwaggerUI set to be true or method func (o *TodoListAPI) UseSwaggerUI() is called. But I still can visit swaggerUI with route /docs. How does it possible? Is there any flags did it which I ignored?
Copied by @casualjim :
A server project built by go-swagger owns the capability to provide a UI. And the property 'useSwaggerUI' is a toggle between a redoc docs site and a swagger ui docs site, which could be thought as a UI theme.
The UI is very small, it's a single js you include in a basic html5 page. All the capability provided by 'go-openapi' project.
Hello! I checked
examples/tutorials/todo-list/server-complete
source codes and did not find api propertyuseSwaggerUI
set to be true or methodfunc (o *TodoListAPI) UseSwaggerUI()
is called. But I still can visit swaggerUI with route /docs. How does it possible? Is there any flags did it which I ignored?Environment
swagger version: 42c184c
OS: darwin
The text was updated successfully, but these errors were encountered: