enable or disable swagger

This commit is contained in:
2023-04-11 23:33:33 +02:00
parent 46a1d9f4f0
commit ca242a55f8
2 changed files with 38 additions and 30 deletions

View File

@ -33,6 +33,8 @@ type Swagger struct {
Contact *openapi3.Contact
License *openapi3.License
OpenAPI *openapi3.T
SwaggerEnable bool
RedocEnable bool
SwaggerOptions map[string]interface{}
RedocOptions map[string]interface{}
}