Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUIGroupHandler ¶ added in v2.0.4
func AddUIGroupHandler(ginEngine gin.IRoutes, path string, groups ...SwaggerUrl)
AddUIGroupHandler adds handler that serves html for Swagger UI
Types ¶
type SwaggerConfig ¶
type SwaggerConfig struct { ConfigUrl string `json:"configUrl"` DisplayRequestDuration bool `json:"displayRequestDuration"` Oauth2RedirectUrl string `json:"oauth2RedirectUrl"` OperationsSorter string `json:"operationsSorter"` ValidatorUrl string `json:"validatorUrl"` Urls *[]SwaggerUrl `json:"urls"` }
type SwaggerUrl ¶
Click to show internal directories.
Click to hide internal directories.