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
'This string MUST be in the form of a URI reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1. Implementations MUST support identifying the targets of API description URIs using the URI defined by this field when it is present. See Establishing the Base URI for the base URI behavior when $self is absent or relative, and see Appendix F for examples of using $self to resolve references.',
'A machine-readable string to categorize what sort of tag it is. Any string value can be used; common uses are nav for Navigation, badge for visible badges, audience for APIs used by different groups. A registry of the most commonly used values is available.',
26
+
},
27
+
parent: {
28
+
type: 'string',
29
+
description:
30
+
'The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references between parent and child tags MUST NOT be used.',
31
+
},
32
+
summary: {
33
+
type: 'string',
34
+
description: 'A short summary of the tag, used for display purposes.',
'Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.',
21
40
};
22
41
23
42
constServer: NodeType={
24
43
...Oas3_1Types.Server,
25
44
properties: {
26
45
...Oas3_1Types.Server.properties,
27
-
name: {type: 'string'},
46
+
name: {
47
+
type: 'string',
48
+
description: 'An optional unique string to refer to the host designated by the URL.',
'A map between a property name and its encoding information, as defined under Encoding By Name. The encoding field SHALL only apply when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. This field MUST NOT be present if prefixEncoding or itemEncoding are present.',
'The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.',
252
+
},
190
253
},
191
254
};
192
255
193
256
constExample: NodeType={
194
257
...Oas3_1Types.Example,
195
258
properties: {
196
259
...Oas3_1Types.Example.properties,
197
-
dataValue: {resolvable: false},
198
-
serializedValue: {type: 'string'},
260
+
dataValue: {
261
+
resolvable: false,
262
+
description:
263
+
'An example of the data structure that MUST be valid according to the relevant Schema Object. If this field is present, value MUST be absent.',
264
+
},
265
+
serializedValue: {
266
+
type: 'string',
267
+
description:
268
+
'An example of the serialized form of the value, including encoding and escaping as described under Validating Examples. If dataValue is present, then this field SHOULD contain the serialization of the given data. Otherwise, it SHOULD be the valid serialization of a data value that itself MUST be valid as described for dataValue. This field SHOULD NOT be used if the serialization format is JSON, as the data form is easier to work with. If this field is present, value, and externalValue MUST be absent.',
'One of element, attribute, text, cdata, or none, as explained under XML Node Types. The default value is none if $ref, $dynamicRef, or type: "array" is present in the Schema Object containing the XML Object, and element otherwise.',
280
+
},
281
+
name: {
282
+
type: 'string',
283
+
description:
284
+
'Sets the name of the element/attribute corresponding to the schema, replacing the name that was inferred as described under XML Node Names. This field SHALL be ignored if the nodeType is text, cdata, or none.',
285
+
},
286
+
namespace: {
287
+
type: 'string',
288
+
description:
289
+
'The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.',
290
+
},
291
+
prefix: {
292
+
type: 'string',
293
+
description: 'The prefix to be used for the name.',
294
+
},
295
+
attribute: {
296
+
type: 'boolean',
297
+
description:
298
+
'Declares whether the property definition translates to an attribute instead of an element. Default value is false. If nodeType is present, this field MUST NOT be present.Deprecated: Use nodeType: "attribute" instead of attribute: true.',
299
+
},
300
+
wrapped: {
301
+
type: 'boolean',
302
+
description:
303
+
'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). If nodeType is present, this field MUST NOT be present. Deprecated: Use nodeType: "element" instead of wrapped: true.',
304
+
},// Deprecated in OAS 3.2: Use nodeType: "element" instead
'A metadata object that allows for more fine-tuned XML model definitions. When using a Schema Object with XML, if no XML Object is present, the behavior is determined by the XML Object’s default field values.',
0 commit comments