You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ref: {type: 'string'},// TODO: verify special $ref handling for Path Item
154
+
$ref: {
155
+
type: 'string',
156
+
description:
157
+
'Allows for a referenced definition of this path item. The referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.',
'Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.',
description: 'REQUIRED. The name of the parameter. Parameter names are case sensitive.',
193
+
},
194
+
in: {
195
+
enum: ['query','header','path','cookie'],
196
+
description:
197
+
'REQUIRED. The location of the parameter. Possible values are "query", "header", "path", or "cookie".',
198
+
},
199
+
description: {
200
+
type: 'string',
201
+
description:
202
+
'A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.',
203
+
},
204
+
required: {
205
+
type: 'boolean',
206
+
description:
207
+
'Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.',
208
+
},
209
+
deprecated: {
210
+
type: 'boolean',
211
+
description:
212
+
'Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.',
213
+
},
214
+
allowEmptyValue: {
215
+
type: 'boolean',
216
+
description:
217
+
'Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty value. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Use of this property is NOT RECOMMENDED, as it is likely to be removed in a later revision.',
'Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.',
223
+
},
224
+
explode: {
225
+
type: 'boolean',
226
+
description:
227
+
'When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.',
228
+
},
229
+
allowReserved: {
230
+
type: 'boolean',
231
+
description: `Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false.`,
description: `Optional description of the operation and its behavior. Supports Markdown formatting. Redocly tools support using $ref in this field to reuse or include content from other sources.`,
description: `The Operation Object describes a single API operation on a path, including its parameters, responses, and request body (if applicable). Each path can support more than one operation, but those operations must be unique. A unique operation is a combination of a path and an HTTP method, so two GET or two POST methods for the same path are not allowed.`,
'The request body applicable for this operation. The requestBody is fully supported in HTTP methods where the HTTP 1.1 specification [RFC7231] Section 4.3.1 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague (such as GET, HEAD and DELETE), requestBody is permitted but does not have well-defined semantics and SHOULD be avoided if possible.',
description: 'The list of possible responses as they are returned from executing this operation.',
302
381
};
303
382
304
383
constResponse: NodeType={
@@ -564,7 +643,10 @@ export const Oas3Types = {
564
643
Paths,
565
644
PathItem,
566
645
Parameter,
567
-
ParameterList: listOf('Parameter'),
646
+
ParameterList: listOf('Parameter',{
647
+
description:
648
+
'A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item, the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object’s components/parameters.',
description: `Optional description of the operation and its behavior. Supports Markdown formatting. Redocly tools support using $ref in this field to reuse or include content from other sources.`,
0 commit comments