Documentation ¶
Index ¶
- type API
- type Option
- func WithComponents(keyAndValues ...interface{}) Option
- func WithContact(name string, url string, email string) Option
- func WithDescription(description oas.RichText) Option
- func WithExternalDocs(description oas.RichText, url string) Option
- func WithLicense(name string, url string) Option
- func WithOperation(id string, method string, path string, opts ...operation.Option) Option
- func WithSchemaDefinitions(definitions map[string]*oas.Schema) Option
- func WithSecurity(requirements ...oas.SecurityRequirement) Option
- func WithServer(protocol, hostname string, port uint16, pathname string, opts ...server.Option) Option
- func WithTOS(url string) Option
- func WithTag(name string, description oas.RichText) Option
- func WithTitle(title string) Option
- func WithVersion(version string) Option
- func WithWebhook(name string, method string, opts ...operation.Option) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithComponents ¶
func WithComponents(keyAndValues ...interface{}) Option
func WithDescription ¶
func WithDescription(description oas.RichText) Option
func WithExternalDocs ¶
func WithLicense ¶
func WithOperation ¶
func WithSchemaDefinitions ¶
func WithSecurity ¶
func WithSecurity(requirements ...oas.SecurityRequirement) Option
func WithServer ¶
func WithVersion ¶
Click to show internal directories.
Click to hide internal directories.