Documentation
¶
Index ¶
Constants ¶
View Source
const AppName = "apidoc"
Variables ¶
This section is empty.
Functions ¶
func APIDocs ¶
func APIDocs(apiDocPath string, docs restfulspec.PostBuildSwaggerObjectFunc) *restful.WebService
APIDocs creates a new restful.WebService and returns an instance of restfulspec.NewOpenAPIService.
Parameters: - apiDocPath: string representing the API documentation path. - docs: restfulspec.PostBuildSwaggerObjectFunc to handle the Swagger object after it's built.
Returns: - Pointer to a restful.WebService.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.