MCPcopy Create free account
hub / github.com/goadesign/goa / Response

Struct Response

http/codegen/openapi/v3/openapi.go:143–149  ·  view source on GitHub ↗

Response represents an OpenAPI Response object as defined in https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#responseObject

Source from the content-addressed store, hash-verified

141 // Response represents an OpenAPI Response object as defined in
142 // https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#responseObject
143 Response struct {
144 Description *string `json:"description,omitempty" yaml:"description,omitempty"`
145 Headers map[string]*HeaderRef `json:"headers,omitempty" yaml:"headers,omitempty"`
146 Content map[string]*MediaType `json:"content,omitempty" yaml:"content,omitempty"`
147 Links map[string]*LinkRef `json:"links,omitempty" yaml:"links,omitempty"`
148 Extensions map[string]any `json:"-" yaml:"-"`
149 }
150
151 // MediaType represents an OpenAPI Media Type object as defined in
152 // https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#mediaTypeObject

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected