Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwaggerHelper ¶
type SwaggerHelper interface { // GetOpenAPI returns the OpenAPI specification as a map, or an error if it fails GetOpenAPI() (map[string]interface{}, error) // CreateOpenAPI creates a new OpenAPI specification and saves it to disk, or returns an error if it fails CreateOpenAPI() error // AddPathSpec adds a path specification to the OpenAPI specification AddPathSpec(path string, verb string, verbSpec map[string]interface{}) // Dump dumps the OpenAPI specification to disk, or returns an error if it fails Dump() error }
Click to show internal directories.
Click to hide internal directories.