Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pet ¶
type Pet struct { // Name of the animal. Name string `json:"name" jsonschema:"title=Name"` }
Pet defines the user's fury friend.
type Plant ¶
type Plant struct { Variant string `json:"variant" jsonschema:"title=Variant"` // This comment will be used // Multicellular is true if the plant is multicellular Multicellular bool `json:"multicellular,omitempty" jsonschema:"title=Multicellular"` // This comment will be ignored }
Plant represents the plants the user might have and serves as a test of structs inside a `type` set.
Click to show internal directories.
Click to hide internal directories.