Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodingFilter ¶
EncodingFilter Route Filter (defines FilterFunction)
func NewOpenAPIService ¶
func NewOpenAPIService(config restfulspec.Config) *restful.WebService
NewOpenAPIService returns a new WebService that provides the API documentation of all services conform the OpenAPI documentation specifcation.
func SwaggerObject ¶
SwaggerObject is to add more information to the swagger object
Types ¶
type OpenAPIService ¶
type OpenAPIService struct {
// contains filtered or unexported fields
}
OpenAPIService is the service responsible for serving OpenAPI spec. It has the ability to safely change the spec while serving it.
func (*OpenAPIService) UpdateSpec ¶
func (o *OpenAPIService) UpdateSpec(openapiSpec *spec.Swagger) (err error)
Click to show internal directories.
Click to hide internal directories.