package
0.1.0
Repository: https://github.com/datumforge/go-template.git
Documentation: pkg.go.dev

# Functions

NewOpenAPISpec creates a new OpenAPI 3.1.0 specification based on the configured go interfaces and the operation types appended within the individual handlers.
NewRouter creates a wrapper router so that the echo server and OAS specification can be generated simultaneously.
NewServer returns a new Server configuration.

# Variables

ErrCertFileMissing is returned when https is enabled but no cert file is provided.
ErrKeyFileMissing is returned when https is enabled but no key file is provided.

# Structs

APIKey is a struct that represents an API Key security scheme.
Basic is a struct that represents a Basic Auth security scheme.
OAuth2 is a struct that represents an OAuth2 security scheme.
OpenID is a struct that represents an OpenID Connect security scheme.
No description provided by the author