Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct {
// A brief description of the request body. This could contain examples of use. [CommonMark] syntax MAY be used for rich text representation.
Description *string `json:"description,omitempty"`
Required bool `json:"required"`
// The content of the request body. The key is a media type or media type range, see [RFC7231] Appendix D, and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. "text/plain" overrides "text/*"
Content map[string]media.Type `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.