Interface: IResponse
Properties of a Response.
Extends
Properties
description?
optionaldescription?:string|null
Description is a short description of the response.
GFM syntax can be used for rich text representation.
Inherited from
examples?
optionalexamples?: {[k:string]:string; } |null
Examples gives per-mimetype response examples.
See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
Inherited from
extensions?
optionalextensions?: {[k:string]:$Properties; } |null
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
Inherited from
headers?
optionalheaders?: {[k:string]:$Properties; } |null
Headers A list of headers that are sent with the response.
Header name is expected to be a string in the canonical format of the MIME header key
See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
Inherited from
schema?
optionalschema?:$Properties|null
Schema optionally defines the structure of the response.
If Schema is not provided, it means there is no content to the response.