package
2.1.0+incompatible
Repository: https://github.com/jexia/semaphore.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Generate generates a openapi v3.0 specification object.
GenerateOperation generates a operation object from the OpenAPI3 object.
GenerateParameter includes the given parameter to the available parameters.
GenerateSchema generates a new schema for the given property.
IncludeEndpoint includes the given endpoint into the object paths.
IncludeParameterMap includes the given parameters into the object schema components.
RequiresRequestBody checks whether the given method requires a request body.
# Constants
DefaultOption represents the set of default options.
IncludeNotReferenced includes not referenced properties into the OpenAPI3 specification.
Available parameter in options.
Available parameter in options.
Available parameter in options.
Available parameter in options.
# Structs
Components Holds a set of reusable objects for different aspects of the OAS.
Contact information for the exposed API.
Info provides metadata about the API.
MediaType each Media Type Object provides schema and examples for the media type identified by its key.
Object represents the version 3 open api specification.
Operation describes a single API operation on a path.
Parameter a list of parameters that are applicable for this operation.
PathItem describes the operations available on a single path.
RequestBody the request body applicable for this operation.
Response the list of possible responses as they are returned from executing this operation.
Schema Object allows the definition of input and output data types.
ServerRef represents a server reference.
# Type aliases
Options represent the available OpenAPI3 provider options.
ParameterIn represents the parameter in options.