Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alias ¶ added in v1.6.0
type Alias StructForAlias
type DescriptionStruct ¶ added in v1.7.0
type DescriptionStruct struct { ID int // contains filtered or unexported fields }
type ExtensionsStruct ¶ added in v1.8.0
type ExtensionsStruct struct {
ID int `openapiExt:"x-test-ext=test,x-test-ext2=1"`
}
type NestedAlias ¶ added in v1.6.0
type NestedAlias nested.NestedStruct
type NestedSimpleAlias ¶ added in v1.7.0
type NestedSimpleAlias nested.NestedSimpleAlias
type SimpleAlias ¶ added in v1.7.0
type SimpleAlias string
type SliceAlias ¶ added in v1.6.0
type SliceAlias []string
type Struct2 ¶
type Struct2 struct { ID int Data json3.RawMessage }
type Struct4 ¶ added in v1.6.0
type Struct4 struct { ID int Nested nested.NestedStruct }
type StructForAlias ¶ added in v1.6.0
type StructForAlias struct {
Name string `json:"name"`
}
type User2 ¶
type User2 struct { ID uint `json:"id"` Name string `json:"name"` Email string `json:"email"` IsAdmin bool `json:"is_admin"` Groups []Group2 `json:"groups"` CreatedAt time.Time `json:"created_at"` AccountType Type `json:"accountType"` UserType Type `json:"userType"` Manager *User2 `json:"manager"` Json json.RawMessage `json:"json"` Json2 json2.RawMessage `json:"json2"` Bites []byte `json:"bites"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.