Documentation ¶
Index ¶
- type ExtensionData
- type OpenAPI
- type Operation
- type Option
- func DefaultJSONResponse(description string, model interface{}) Option
- func Deprecated() Option
- func Extensions(data ExtensionData) Option
- func FileResponse(code int, description string) Option
- func FormBody(description string, model interface{}) Option
- func ID(id string) Option
- func JSONBody(description string, model interface{}) Option
- func JSONBodyRequired(description string, model interface{}) Option
- func JSONResponse(code int, description string, model interface{}) Option
- func NoSecurity() Option
- func Params(model interface{}) Option
- func Security(name string, scopes ...string) Option
- func Summary(summary string) Option
- func Tags(tags ...string) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionData ¶
type ExtensionData map[string]interface{}
type Option ¶
func DefaultJSONResponse ¶
func Deprecated ¶
func Deprecated() Option
func Extensions ¶
func Extensions(data ExtensionData) Option
func FileResponse ¶
func JSONBodyRequired ¶
func JSONResponse ¶
func NoSecurity ¶
func NoSecurity() Option
NoSecurity sets the security options to an empty array for this operation
Click to show internal directories.
Click to hide internal directories.