diff --git a/modelerfour/modeler/interpretations.ts b/modelerfour/modeler/interpretations.ts index b88ee5f..284f18c 100644 --- a/modelerfour/modeler/interpretations.ts +++ b/modelerfour/modeler/interpretations.ts @@ -20,7 +20,8 @@ const removeKnownParameters = [ 'x-ms-parameter-location', 'x-ms-original', 'x-ms-requestBody-name', - 'x-ms-requestBody-index' + 'x-ms-requestBody-index', + 'x-ms-api-version' ]; // ref: https://www.w3schools.com/charsets/ref_html_ascii.asp @@ -152,6 +153,9 @@ export class Interpretations { if (parameter.in !== ParameterLocation.Query) { return false; } + if (parameter['x-ms-api-version'] === false) { + return false; + } return !!(parameter['x-ms-api-version'] || apiVersionParameterNames.find(each => each === parameter.name.toLowerCase())); } getEnumChoices(schema: OpenAPI.Schema): Array { diff --git a/modelerfour/modeler/modelerfour.ts b/modelerfour/modeler/modelerfour.ts index 307b524..8ce4d2d 100644 --- a/modelerfour/modeler/modelerfour.ts +++ b/modelerfour/modeler/modelerfour.ts @@ -1059,7 +1059,7 @@ export class ModelerFour { const pSchema = this.processSchema(requestSchema?.name || 'requestBody', requestSchema?.instance || {}) // Track the usage of this schema as an input with media type - this.trackSchemaUsage(pSchema, { usage: [ SchemaContext.Input ], serializationFormats: [ kmt ] }); + this.trackSchemaUsage(pSchema, { usage: [SchemaContext.Input], serializationFormats: [kmt] }); httpRequest.addParameter(new Parameter( body.instance?.['x-ms-requestBody-name'] ?? 'body', @@ -1353,7 +1353,7 @@ export class ModelerFour { const parameterSchema = this.processSchema(name || '', schema); // Track the usage of this schema as an input with media type - this.trackSchemaUsage(parameterSchema, { usage: [ SchemaContext.Input ] }); + this.trackSchemaUsage(parameterSchema, { usage: [SchemaContext.Input] }); /* regular, everyday parameter */ const newParam = operation.addParameter(new Parameter(this.interpret.getPreferredName(parameter, schema['x-ms-client-name'] || parameter.name), this.interpret.getDescription('', parameter), parameterSchema, { @@ -1467,7 +1467,7 @@ export class ModelerFour { } // Track the usage of this schema as an output with media type - this.trackSchemaUsage(s, { usage: [ SchemaContext.Output ], serializationFormats: [ knownMediaType as KnownMediaType ] }); + this.trackSchemaUsage(s, { usage: [SchemaContext.Output], serializationFormats: [knownMediaType as KnownMediaType] }); const rsp = new SchemaResponse(s, { extensions: this.interpret.getExtensionProperties(response) diff --git a/modelerfour/test/scenarios/azure-special-properties/flattened.yaml b/modelerfour/test/scenarios/azure-special-properties/flattened.yaml index d00f1ef..9cea6ef 100644 --- a/modelerfour/test/scenarios/azure-special-properties/flattened.yaml +++ b/modelerfour/test/scenarios/azure-special-properties/flattened.yaml @@ -20,7 +20,7 @@ schemas: ! name: number description: '' protocol: ! {} - - ! &ref_24 + - ! &ref_25 type: integer apiVersions: - ! @@ -91,7 +91,17 @@ schemas: ! name: ApiVersion-2015-07-01-preview description: Api Version (2015-07-01-preview) protocol: ! {} - - ! &ref_19 + - ! &ref_17 + type: constant + value: ! + value: '2.0' + valueType: *ref_1 + language: ! + default: + name: '' + description: '' + protocol: ! {} + - ! &ref_20 type: constant value: ! value: path1/path2/path3 @@ -101,7 +111,7 @@ schemas: ! name: '' description: '' protocol: ! {} - - ! &ref_23 + - ! &ref_24 type: constant value: ! value: value1&q2=value2&q3=value3 @@ -1043,7 +1053,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - *ref_12 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1139,7 +1160,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - *ref_12 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1187,7 +1219,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - *ref_12 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1243,7 +1286,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_17 + - ! &ref_18 schema: *ref_6 implementation: Method required: true @@ -1269,7 +1312,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_17 + - *ref_18 responses: - ! language: ! @@ -1305,7 +1348,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_18 + - ! &ref_19 schema: *ref_6 implementation: Method required: true @@ -1331,7 +1374,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_18 + - *ref_19 responses: - ! language: ! @@ -1368,7 +1411,7 @@ operationGroups: parameters: - *ref_8 - ! - schema: *ref_19 + schema: *ref_20 implementation: Method required: true extensions: @@ -1428,7 +1471,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_20 + - ! &ref_21 schema: *ref_6 implementation: Method required: true @@ -1454,7 +1497,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_20 + - *ref_21 responses: - ! language: ! @@ -1490,7 +1533,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_21 + - ! &ref_22 schema: *ref_6 implementation: Method extensions: @@ -1515,7 +1558,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_21 + - *ref_22 responses: - ! language: ! @@ -1551,7 +1594,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_22 + - ! &ref_23 schema: *ref_6 implementation: Method required: true @@ -1577,7 +1620,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_22 + - *ref_23 responses: - ! language: ! @@ -1614,7 +1657,7 @@ operationGroups: parameters: - *ref_8 - ! - schema: *ref_23 + schema: *ref_24 implementation: Method required: true extensions: @@ -1682,7 +1725,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_25 + - ! &ref_26 schema: *ref_6 implementation: Method language: ! @@ -1693,8 +1736,8 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_26 - schema: *ref_24 + - ! &ref_27 + schema: *ref_25 implementation: Method language: ! default: @@ -1704,7 +1747,7 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_27 + - ! &ref_28 schema: *ref_6 implementation: Method language: ! @@ -1727,9 +1770,9 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_25 - *ref_26 - *ref_27 + - *ref_28 responses: - ! language: ! @@ -1775,7 +1818,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_28 + - ! &ref_29 schema: *ref_6 implementation: Method required: true @@ -1801,7 +1844,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_28 + - *ref_29 responses: - ! language: ! @@ -1843,7 +1886,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_29 + - ! &ref_30 schema: *ref_6 implementation: Method required: true @@ -1870,7 +1913,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_29 + - *ref_30 responses: - ! language: ! @@ -1912,7 +1955,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_8 - - ! &ref_30 + - ! &ref_31 schema: *ref_6 implementation: Method required: true @@ -1938,7 +1981,7 @@ operationGroups: method: head uri: '{$host}' signatureParameters: - - *ref_30 + - *ref_31 responses: - ! language: ! diff --git a/modelerfour/test/scenarios/azure-special-properties/grouped.yaml b/modelerfour/test/scenarios/azure-special-properties/grouped.yaml index 52c8aec..32e215d 100644 --- a/modelerfour/test/scenarios/azure-special-properties/grouped.yaml +++ b/modelerfour/test/scenarios/azure-special-properties/grouped.yaml @@ -20,7 +20,7 @@ schemas: ! name: number description: '' protocol: ! {} - - ! &ref_25 + - ! &ref_26 type: integer apiVersions: - ! @@ -91,7 +91,17 @@ schemas: ! name: ApiVersion-2015-07-01-preview description: Api Version (2015-07-01-preview) protocol: ! {} - - ! &ref_20 + - ! &ref_18 + type: constant + value: ! + value: '2.0' + valueType: *ref_1 + language: ! + default: + name: '' + description: '' + protocol: ! {} + - ! &ref_21 type: constant value: ! value: path1/path2/path3 @@ -101,7 +111,7 @@ schemas: ! name: '' description: '' protocol: ! {} - - ! &ref_24 + - ! &ref_25 type: constant value: ! value: value1&q2=value2&q3=value3 @@ -118,9 +128,9 @@ schemas: ! - ! schema: *ref_6 originalParameter: - - ! &ref_30 + - ! &ref_31 schema: *ref_6 - groupedBy: ! &ref_31 + groupedBy: ! &ref_32 schema: *ref_7 implementation: Method required: true @@ -1087,7 +1097,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1183,7 +1204,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1231,7 +1263,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1287,7 +1330,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_18 + - ! &ref_19 schema: *ref_6 implementation: Method required: true @@ -1313,7 +1356,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_18 + - *ref_19 responses: - ! language: ! @@ -1349,7 +1392,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_19 + - ! &ref_20 schema: *ref_6 implementation: Method required: true @@ -1375,7 +1418,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_19 + - *ref_20 responses: - ! language: ! @@ -1412,7 +1455,7 @@ operationGroups: parameters: - *ref_9 - ! - schema: *ref_20 + schema: *ref_21 implementation: Method required: true extensions: @@ -1472,7 +1515,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_21 + - ! &ref_22 schema: *ref_6 implementation: Method required: true @@ -1498,7 +1541,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_21 + - *ref_22 responses: - ! language: ! @@ -1534,7 +1577,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_22 + - ! &ref_23 schema: *ref_6 implementation: Method extensions: @@ -1559,7 +1602,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_22 + - *ref_23 responses: - ! language: ! @@ -1595,7 +1638,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_23 + - ! &ref_24 schema: *ref_6 implementation: Method required: true @@ -1621,7 +1664,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_23 + - *ref_24 responses: - ! language: ! @@ -1658,7 +1701,7 @@ operationGroups: parameters: - *ref_9 - ! - schema: *ref_24 + schema: *ref_25 implementation: Method required: true extensions: @@ -1726,7 +1769,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_26 + - ! &ref_27 schema: *ref_6 implementation: Method language: ! @@ -1737,8 +1780,8 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_27 - schema: *ref_25 + - ! &ref_28 + schema: *ref_26 implementation: Method language: ! default: @@ -1748,7 +1791,7 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_28 + - ! &ref_29 schema: *ref_6 implementation: Method language: ! @@ -1771,9 +1814,9 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_26 - *ref_27 - *ref_28 + - *ref_29 responses: - ! language: ! @@ -1819,7 +1862,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_29 + - ! &ref_30 schema: *ref_6 implementation: Method required: true @@ -1845,7 +1888,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_29 + - *ref_30 responses: - ! language: ! @@ -1887,13 +1930,13 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_30 + - *ref_31 requests: - ! parameters: - - *ref_31 + - *ref_32 signatureParameters: - - *ref_31 + - *ref_32 language: ! default: name: '' @@ -1945,7 +1988,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_32 + - ! &ref_33 schema: *ref_6 implementation: Method required: true @@ -1971,7 +2014,7 @@ operationGroups: method: head uri: '{$host}' signatureParameters: - - *ref_32 + - *ref_33 responses: - ! language: ! diff --git a/modelerfour/test/scenarios/azure-special-properties/modeler.yaml b/modelerfour/test/scenarios/azure-special-properties/modeler.yaml index 5e5df36..a1f9502 100644 --- a/modelerfour/test/scenarios/azure-special-properties/modeler.yaml +++ b/modelerfour/test/scenarios/azure-special-properties/modeler.yaml @@ -20,7 +20,7 @@ schemas: ! name: number description: '' protocol: ! {} - - ! &ref_24 + - ! &ref_25 type: integer apiVersions: - ! @@ -91,7 +91,17 @@ schemas: ! name: ApiVersion-2015-07-01-preview description: Api Version (2015-07-01-preview) protocol: ! {} - - ! &ref_19 + - ! &ref_17 + type: constant + value: ! + value: '2.0' + valueType: *ref_5 + language: ! + default: + name: '' + description: '' + protocol: ! {} + - ! &ref_20 type: constant value: ! value: path1/path2/path3 @@ -101,7 +111,7 @@ schemas: ! name: '' description: '' protocol: ! {} - - ! &ref_23 + - ! &ref_24 type: constant value: ! value: value1&q2=value2&q3=value3 @@ -1043,7 +1053,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - *ref_16 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1139,7 +1160,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - *ref_16 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1187,7 +1219,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - *ref_16 + - ! + schema: *ref_17 + implementation: Method + required: true + language: ! + default: + name: api-version + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1243,7 +1286,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_17 + - ! &ref_18 schema: *ref_7 implementation: Method required: true @@ -1269,7 +1312,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_17 + - *ref_18 responses: - ! language: ! @@ -1305,7 +1348,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_18 + - ! &ref_19 schema: *ref_7 implementation: Method required: true @@ -1331,7 +1374,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_18 + - *ref_19 responses: - ! language: ! @@ -1368,7 +1411,7 @@ operationGroups: parameters: - *ref_6 - ! - schema: *ref_19 + schema: *ref_20 implementation: Method required: true extensions: @@ -1428,7 +1471,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_20 + - ! &ref_21 schema: *ref_7 implementation: Method required: true @@ -1454,7 +1497,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_20 + - *ref_21 responses: - ! language: ! @@ -1490,7 +1533,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_21 + - ! &ref_22 schema: *ref_7 implementation: Method extensions: @@ -1515,7 +1558,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_21 + - *ref_22 responses: - ! language: ! @@ -1551,7 +1594,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_22 + - ! &ref_23 schema: *ref_7 implementation: Method required: true @@ -1577,7 +1620,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_22 + - *ref_23 responses: - ! language: ! @@ -1614,7 +1657,7 @@ operationGroups: parameters: - *ref_6 - ! - schema: *ref_23 + schema: *ref_24 implementation: Method required: true extensions: @@ -1682,7 +1725,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_25 + - ! &ref_26 schema: *ref_7 implementation: Method language: ! @@ -1693,8 +1736,8 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_26 - schema: *ref_24 + - ! &ref_27 + schema: *ref_25 implementation: Method language: ! default: @@ -1704,7 +1747,7 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_27 + - ! &ref_28 schema: *ref_7 implementation: Method language: ! @@ -1727,9 +1770,9 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_25 - *ref_26 - *ref_27 + - *ref_28 responses: - ! language: ! @@ -1775,7 +1818,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_28 + - ! &ref_29 schema: *ref_7 implementation: Method required: true @@ -1801,7 +1844,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_28 + - *ref_29 responses: - ! language: ! @@ -1843,7 +1886,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_29 + - ! &ref_30 schema: *ref_7 implementation: Method required: true @@ -1870,7 +1913,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_29 + - *ref_30 responses: - ! language: ! @@ -1912,7 +1955,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_6 - - ! &ref_30 + - ! &ref_31 schema: *ref_7 implementation: Method required: true @@ -1938,7 +1981,7 @@ operationGroups: method: head uri: '{$host}' signatureParameters: - - *ref_30 + - *ref_31 responses: - ! language: ! diff --git a/modelerfour/test/scenarios/azure-special-properties/namer.yaml b/modelerfour/test/scenarios/azure-special-properties/namer.yaml index 74b05ec..31cc617 100644 --- a/modelerfour/test/scenarios/azure-special-properties/namer.yaml +++ b/modelerfour/test/scenarios/azure-special-properties/namer.yaml @@ -20,7 +20,7 @@ schemas: ! name: Number description: '' protocol: ! {} - - ! &ref_25 + - ! &ref_26 type: integer apiVersions: - ! @@ -91,24 +91,34 @@ schemas: ! name: ApiVersion20150701Preview description: Api Version (2015-07-01-preview) protocol: ! {} - - ! &ref_20 + - ! &ref_18 type: constant value: ! - value: path1/path2/path3 + value: '2.0' valueType: *ref_1 language: ! default: name: Constant2 description: '' protocol: ! {} - - ! &ref_24 + - ! &ref_21 + type: constant + value: ! + value: path1/path2/path3 + valueType: *ref_1 + language: ! + default: + name: Constant3 + description: '' + protocol: ! {} + - ! &ref_25 type: constant value: ! value: value1&q2=value2&q3=value3 valueType: *ref_1 language: ! default: - name: Constant3 + name: Constant4 description: '' protocol: ! {} groups: @@ -118,9 +128,9 @@ schemas: ! - ! schema: *ref_2 originalParameter: - - ! &ref_30 + - ! &ref_31 schema: *ref_2 - groupedBy: ! &ref_31 + groupedBy: ! &ref_32 schema: *ref_3 implementation: Method required: true @@ -1087,7 +1097,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: ApiVersion + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1183,7 +1204,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: ApiVersion + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1231,7 +1263,18 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_13 + - ! + schema: *ref_18 + implementation: Method + required: true + language: ! + default: + name: ApiVersion + description: 'This should appear as a method parameter, use value ''2.0''' + serializedName: api-version + protocol: ! + http: ! + in: query requests: - ! language: ! @@ -1287,7 +1330,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_18 + - ! &ref_19 schema: *ref_2 implementation: Method required: true @@ -1313,7 +1356,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_18 + - *ref_19 responses: - ! language: ! @@ -1349,7 +1392,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_19 + - ! &ref_20 schema: *ref_2 implementation: Method required: true @@ -1375,7 +1418,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_19 + - *ref_20 responses: - ! language: ! @@ -1412,7 +1455,7 @@ operationGroups: parameters: - *ref_9 - ! - schema: *ref_20 + schema: *ref_21 implementation: Method required: true extensions: @@ -1472,7 +1515,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_21 + - ! &ref_22 schema: *ref_2 implementation: Method required: true @@ -1498,7 +1541,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_21 + - *ref_22 responses: - ! language: ! @@ -1534,7 +1577,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_22 + - ! &ref_23 schema: *ref_2 implementation: Method extensions: @@ -1559,7 +1602,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_22 + - *ref_23 responses: - ! language: ! @@ -1595,7 +1638,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_23 + - ! &ref_24 schema: *ref_2 implementation: Method required: true @@ -1621,7 +1664,7 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_23 + - *ref_24 responses: - ! language: ! @@ -1658,7 +1701,7 @@ operationGroups: parameters: - *ref_9 - ! - schema: *ref_24 + schema: *ref_25 implementation: Method required: true extensions: @@ -1726,7 +1769,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_26 + - ! &ref_27 schema: *ref_2 implementation: Method language: ! @@ -1737,8 +1780,8 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_27 - schema: *ref_25 + - ! &ref_28 + schema: *ref_26 implementation: Method language: ! default: @@ -1748,7 +1791,7 @@ operationGroups: protocol: ! http: ! in: query - - ! &ref_28 + - ! &ref_29 schema: *ref_2 implementation: Method language: ! @@ -1771,9 +1814,9 @@ operationGroups: method: get uri: '{$host}' signatureParameters: - - *ref_26 - *ref_27 - *ref_28 + - *ref_29 responses: - ! language: ! @@ -1819,7 +1862,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_29 + - ! &ref_30 schema: *ref_2 implementation: Method required: true @@ -1845,7 +1888,7 @@ operationGroups: method: post uri: '{$host}' signatureParameters: - - *ref_29 + - *ref_30 responses: - ! language: ! @@ -1887,13 +1930,13 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - *ref_30 + - *ref_31 requests: - ! parameters: - - *ref_31 + - *ref_32 signatureParameters: - - *ref_31 + - *ref_32 language: ! default: name: '' @@ -1945,7 +1988,7 @@ operationGroups: version: 2015-07-01-preview parameters: - *ref_9 - - ! &ref_32 + - ! &ref_33 schema: *ref_2 implementation: Method required: true @@ -1971,7 +2014,7 @@ operationGroups: method: head uri: '{$host}' signatureParameters: - - *ref_32 + - *ref_33 responses: - ! language: ! diff --git a/modelerfour/test/scenarios/azure-special-properties/openapi-document.json b/modelerfour/test/scenarios/azure-special-properties/openapi-document.json index 9f430cd..b843101 100644 --- a/modelerfour/test/scenarios/azure-special-properties/openapi-document.json +++ b/modelerfour/test/scenarios/azure-special-properties/openapi-document.json @@ -1,2361 +1,2362 @@ { - "openapi": "3.0.0", - "info": { - "title": "azure-special-properties", - "description": "Test Infrastructure for AutoRest", - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ] - }, - "version": "2015-07-01-preview" - }, - "paths": { - "path:0": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/overwrite/x-ms-client-request-id/method/", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1method~1" - ] - } - }, - "path:0.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/overwrite/x-ms-client-request-id/method/", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1method~1" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "x-ms-client-request-id_Get", - "description": "Get method that overwrites x-ms-client-request header with value 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "responses": { - "200": { - "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:0" - } - } - } - }, - "path:1": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/overwrite/x-ms-client-request-id/via-param/method/", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1via-param~1method~1" - ] - } - }, - "path:1.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/overwrite/x-ms-client-request-id/via-param/method/", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1via-param~1method~1" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "x-ms-client-request-id_ParamGet", - "description": "Get method that overwrites x-ms-client-request header with value 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:0", - "description": "This should appear as a method parameter, use value '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'" - } - ], - "responses": { - "200": { - "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:2": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:2.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInCredentials_postMethodGlobalValid", - "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:22" - } - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:3": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/global/null/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~1null~1{subscriptionId}" - ] - } - }, - "path:3.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/global/null/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~1null~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInCredentials_postMethodGlobalNull", - "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to null, and client-side validation should prevent you from making this call", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:22" - } - ], - "responses": { - "200": { - "description": "This should never occur - you should be prevented from calling this method with null subscription Id in credentials", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:4": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/globalNotProvided/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1globalNotProvided~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:4.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/globalNotProvided/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1globalNotProvided~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInCredentials_postMethodGlobalNotProvidedValid", - "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:22" - }, - { - "$ref": "#/components/parameters/parameters:23" - } - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:5": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:5.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInMethod_postMethodLocalValid", - "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInMethod Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:1", - "description": "This should appear as a method parameter, use value '1234-5678-9012-3456'" - } - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:6": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/local/null/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~1null~1{subscriptionId}" - ] - } - }, - "path:6.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/method/string/none/path/local/null/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~1null~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInMethod_postMethodLocalNull", - "description": "POST method with subscriptionId modeled in the method. pass in subscription id = null, client-side validation should prevent you from making this call", - "tags": [ - "SubscriptionInMethod Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:1", - "description": "This should appear as a method parameter, use value null, client-side validation should prvenet the call" - } - ], - "responses": { - "200": { - "description": "You should not reach this response - client side validation should prevent yopu from sending a null subscriptionId", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:7": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/path/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:7.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/path/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:22" - } - ], - "operationId": "subscriptionInCredentials_postPathGlobalValid", - "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:8": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/path/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:8.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/path/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:1", - "description": "Should appear as a method parameter -use value '1234-5678-9012-3456'" - } - ], - "operationId": "subscriptionInMethod_postPathLocalValid", - "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInMethod Operations" - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:9": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/swagger/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:9.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/swagger/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInCredentials_postSwaggerGlobalValid", - "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInCredentials Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:22" - } - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:10": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/swagger/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - } - }, - "path:10.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/subscriptionId/swagger/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "subscriptionInMethod_postSwaggerLocalValid", - "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", - "tags": [ - "SubscriptionInMethod Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:1", - "description": "The subscriptionId, which appears in the path, the value is always '1234-5678-9012-3456'" - } - ], - "responses": { - "200": { - "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:11": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1global~12015-07-01-preview" - ] - } - }, - "path:11.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1global~12015-07-01-preview" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionDefault_getMethodGlobalValid", - "description": "GET method with api-version modeled in global settings.", - "tags": [ - "ApiVersionDefault Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:23" - } - ], - "responses": { - "200": { - "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:12": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/globalNotProvided/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1globalNotProvided~12015-07-01-preview" - ] - } - }, - "path:12.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/globalNotProvided/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1globalNotProvided~12015-07-01-preview" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionDefault_getMethodGlobalNotProvidedValid", - "description": "GET method with api-version modeled in global settings.", - "tags": [ - "ApiVersionDefault Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:23" - } - ], - "responses": { - "200": { - "description": "Successfully received the '2015-07-01-preview' credential value from global client settings", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:13": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~12.0" - ] - } - }, - "path:13.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~12.0" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionLocal_getMethodLocalValid", - "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", - "tags": [ - "ApiVersionLocal Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:5", - "description": "This should appear as a method parameter, use value '2.0'" - } - ], - "responses": { - "200": { - "description": "Successfully received the '2.0' api-version value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:14": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/local/null", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~1null" - ] - } - }, - "path:14.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/method/string/none/query/local/null", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~1null" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionLocal_getMethodLocalNull", - "description": "Get method with api-version modeled in the method. pass in api-version = null to succeed", - "tags": [ - "ApiVersionLocal Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:6", - "description": "This should appear as a method parameter, use value null, this should result in no serialized parameter" - } - ], - "responses": { - "200": { - "description": "Successfully received no api-version value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:15": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/path/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1global~12015-07-01-preview" - ] - } - }, - "path:15.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/path/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1global~12015-07-01-preview" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:23" - } - ], - "operationId": "apiVersionDefault_getPathGlobalValid", - "description": "GET method with api-version modeled in global settings.", - "tags": [ - "ApiVersionDefault Operations" - ], - "responses": { - "200": { - "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:16": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/path/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1local~12.0" - ] - } - }, - "path:16.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/path/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1local~12.0" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:5", - "description": "This should appear as a method parameter, use value '2.0'" - } - ], - "operationId": "apiVersionLocal_getPathLocalValid", - "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", - "tags": [ - "ApiVersionLocal Operations" - ], - "responses": { - "200": { - "description": "Successfully received the '2.0' api-version value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:17": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/swagger/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1global~12015-07-01-preview" - ] - } - }, - "path:17.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/swagger/string/none/query/global/2015-07-01-preview", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1global~12015-07-01-preview" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionDefault_getSwaggerGlobalValid", - "description": "GET method with api-version modeled in global settings.", - "tags": [ - "ApiVersionDefault Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:23" - } - ], - "responses": { - "200": { - "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:18": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/swagger/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1local~12.0" - ] - } - }, - "path:18.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/apiVersion/swagger/string/none/query/local/2.0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1local~12.0" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "apiVersionLocal_getSwaggerLocalValid", - "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", - "tags": [ - "ApiVersionLocal Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:5", - "description": "The api version, which appears in the query, the value is always '2.0'" - } - ], - "responses": { - "200": { - "description": "Successfully received the '2.0' api-version value from the local parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:19": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1path~1valid~1{unencodedPathParam}" - ] - } - }, - "path:19.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1path~1valid~1{unencodedPathParam}" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "skipUrlEncoding_getMethodPathValid", - "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:9", - "description": "Unencoded path parameter with value 'path1/path2/path3'" - } - ], - "responses": { - "200": { - "description": "Successfully received the path parameter with value 'path1/path2/path3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:20": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/path/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1path~1valid~1{unencodedPathParam}" - ] - } - }, - "path:20.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/path/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1path~1valid~1{unencodedPathParam}" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:9", - "description": "Unencoded path parameter with value 'path1/path2/path3'" - } - ], - "operationId": "skipUrlEncoding_getPathPathValid", - "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "responses": { - "200": { - "description": "Successfully received the path parameter with value 'path1/path2/path3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:21": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/swagger/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1path~1valid~1{unencodedPathParam}" - ] - } - }, - "path:21.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/swagger/path/valid/{unencodedPathParam}", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1path~1valid~1{unencodedPathParam}" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "skipUrlEncoding_getSwaggerPathValid", - "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:11", - "description": "An unencoded path parameter with value 'path1/path2/path3'" - } - ], - "responses": { - "200": { - "description": "Successfully received the path parameter with value 'path1/path2/path3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:22": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1valid" - ] - } - }, - "path:22.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1valid" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "skipUrlEncoding_getMethodQueryValid", - "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:12", - "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'" - } - ], - "responses": { - "200": { - "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:23": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/query/null", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1null" - ] - } - }, - "path:23.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/method/query/null", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1null" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "skipUrlEncoding_getMethodQueryNull", - "description": "Get method with unencoded query parameter with value null", - "tags": [ - "SkipUrlEncoding Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:13", - "description": "Unencoded query parameter with value null" - } - ], - "responses": { - "200": { - "description": "Successfully received no query parameter", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:24": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/path/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1query~1valid" - ] - } - }, - "path:24.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/path/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1query~1valid" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:12", - "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'" - } - ], - "operationId": "skipUrlEncoding_getPathQueryValid", - "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "responses": { - "200": { - "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:25": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/swagger/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1query~1valid" - ] - } - }, - "path:25.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/skipUrlEncoding/swagger/query/valid", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1query~1valid" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "skipUrlEncoding_getSwaggerQueryValid", - "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "tags": [ - "SkipUrlEncoding Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:15", - "description": "An unencoded query parameter with value 'value1&q2=value2&q3=value3'" - } - ], - "responses": { - "200": { - "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:26": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/odata/filter", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1odata~1filter" - ] - } - }, - "path:26.get": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/odata/filter", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1odata~1filter" - ] - }, - "get": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "odata_getWithFilter", - "description": "Specify filter parameter with value '$filter=id gt 5 and name eq 'foo'&$orderby=id&$top=10'", - "tags": [ - "odata Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/parameters:16", - "description": "The filter parameter with value '$filter=id gt 5 and name eq 'foo''." - }, - { - "$ref": "#/components/parameters/parameters:17", - "description": "The top parameter with value 10." - }, - { - "$ref": "#/components/parameters/parameters:18", - "description": "The orderby parameter with value id." - } - ], - "responses": { - "200": { - "description": "Successfully received filter parameter with value '$filter=id gt 5 and name eq 'foo'&$orderby=id&$top=10'", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - }, - "x-ms-odata": "#/components/schemas/OdataFilter" - } - }, - "path:27": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestId", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestId" - ] - } - }, - "path:27.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestId", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestId" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "header_customNamedRequestId", - "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request", - "parameters": [ - { - "$ref": "#/components/parameters/parameters:19", - "description": "The fooRequestId" - } - ], - "tags": [ - "Header Operations" - ], - "x-ms-request-id": "foo-request-id", - "responses": { - "200": { - "description": "Gets the foo-request-id", - "$ref": "#/components/responses/responses:54" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:28": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestIdParamGrouping", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdParamGrouping" - ] - } - }, - "path:28.post": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestIdParamGrouping", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdParamGrouping" - ] - }, - "post": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "header_customNamedRequestIdParamGrouping", - "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request, via a parameter group", - "parameters": [ - { - "$ref": "#/components/parameters/parameters:20", - "description": "The fooRequestId" - } - ], - "tags": [ - "Header Operations" - ], - "x-ms-request-id": "foo-request-id", - "responses": { - "200": { - "description": "Gets the foo-request-id", - "$ref": "#/components/responses/responses:54" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - }, - "path:29": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestIdHead", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdHead" - ] - } - }, - "path:29.head": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "path": "/azurespecials/customNamedRequestIdHead", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdHead" - ] - }, - "head": { - "servers": [ - { - "url": "http://localhost:3000/" - } - ], - "operationId": "header_customNamedRequestIdHead", - "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request", - "parameters": [ - { - "$ref": "#/components/parameters/parameters:19", - "description": "The fooRequestId" - } - ], - "tags": [ - "Header Operations" - ], - "x-ms-request-id": "foo-request-id", - "responses": { - "200": { - "description": "Gets the foo-request-id", - "$ref": "#/components/responses/responses:54" - }, - "404": { - "description": "Gets the foo-request-id", - "$ref": "#/components/responses/responses:0" - }, - "default": { - "description": "Unexpected error", - "$ref": "#/components/responses/responses:3" - } - } - } - } - }, - "components": { - "responses": { - "responses:0": { + "openapi": "3.0.0", + "info": { + "title": "azure-special-properties", + "description": "Test Infrastructure for AutoRest", "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·5qywp8·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·200", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·5qywp8·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1jqlu1d·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1s2ah9j·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·19zq5tm·azurespecials-subscriptionid-method-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1u8jjza·azurespecials-subscriptionid-method-string-none-path-global-null-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1qi88jc·azurespecials-subscriptionid-method-string-none-path-globalnotprovided-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·pqbdb7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·17r4mml·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·7aiuw6·azurespecials-subscriptionid-path-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·11exe3v·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1fzajj8·azurespecials-subscriptionid-swagger-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·inubbd·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1btp629·azurespecials-apiversion-method-string-none-query-global-2015_07_01_preview·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1hijhlr·azurespecials-apiversion-method-string-none-query-globalnotprovided-2015_07_01_preview·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ixhzi1·azurespecials-apiversion-method-string-none-query-local-2-0·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1dmenn7·azurespecials-apiversion-method-string-none-query-local-null·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·radujc·azurespecials-apiversion-path-string-none-query-global-2015_07_01_preview·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·endpb3·azurespecials-apiversion-path-string-none-query-local-2-0·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ajq0w8·azurespecials-apiversion-swagger-string-none-query-global-2015_07_01_preview·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·hu0rwh·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1qaayqm·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1dlmuk5·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1bucqc6·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ebqzxs·azurespecials-skipurlencoding-method-query-valid·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1tq0pso·azurespecials-skipurlencoding-method-query-null·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·10v7bc4·azurespecials-skipurlencoding-path-query-valid·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1habayn·azurespecials-skipurlencoding-swagger-query-valid·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·8uyl7e·azurespecials-odata-filter·get·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·hch8pc·azurespecials-customnamedrequestidhead·head·responses·404" - ] - }, - "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header" - }, - "responses:3": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·xt67h0·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·default", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·xt67h0·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1wzco8j·azurespecials-subscriptionid-method-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·nppdvb·azurespecials-subscriptionid-method-string-none-path-global-null-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·kwk5gx·azurespecials-subscriptionid-method-string-none-path-globalnotprovided-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1r2ejbo·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1mkzk6r·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·jrrdf8·azurespecials-subscriptionid-path-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·x29ypr·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1fc21o0·azurespecials-subscriptionid-swagger-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·z9emvz·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·orcudw·azurespecials-apiversion-method-string-none-query-global-2015_07_01_preview·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·wke8v8·azurespecials-apiversion-method-string-none-query-globalnotprovided-2015_07_01_preview·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·5clxjh·azurespecials-apiversion-method-string-none-query-local-2-0·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·bmwb6e·azurespecials-apiversion-method-string-none-query-local-null·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ch63z0·azurespecials-apiversion-path-string-none-query-global-2015_07_01_preview·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1o64mob·azurespecials-apiversion-path-string-none-query-local-2-0·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1wn2mu0·azurespecials-apiversion-swagger-string-none-query-global-2015_07_01_preview·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1y7oxq1·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1x9f2o4·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·188yiqi·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·w6gw7s·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·g4ixk0·azurespecials-skipurlencoding-method-query-valid·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1rnasdz·azurespecials-skipurlencoding-method-query-null·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1sk7nhf·azurespecials-skipurlencoding-path-query-valid·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·jbufiq·azurespecials-skipurlencoding-swagger-query-valid·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·t60108·azurespecials-odata-filter·get·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1yzn8mm·azurespecials-customnamedrequestid·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·17legpn·azurespecials-customnamedrequestidparamgrouping·post·responses·default", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1vc0z2g·azurespecials-customnamedrequestidhead·head·responses·default" - ] - }, - "description": "Unexpected error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/schemas:22" - } - } - } - }, - "responses:54": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·13lr3a5·azurespecials-customnamedrequestid·post·responses·200", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·13lr3a5·azurespecials-customnamedrequestid·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1aiba9e·azurespecials-customnamedrequestidparamgrouping·post·responses·200", - "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1f7yc2w·azurespecials-customnamedrequestidhead·head·responses·200" - ] - }, - "description": "Gets the foo-request-id", - "headers": { - "foo-request-id": { - "description": "Gets the foo-request-id.", - "$ref": "#/components/headers/headers:0" - } - } - } - }, - "parameters": { - "parameters:0": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1levhk3·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1levhk3·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0" - ] - }, - "name": "x-ms-client-request-id", - "in": "header", - "description": "This should appear as a method parameter, use value '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:1": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·ckbkk7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·ckbkk7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1w8er9j·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·aic638·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·g23j07·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0" - ] - }, - "name": "subscriptionId", - "in": "path", - "description": "This should appear as a method parameter, use value '1234-5678-9012-3456'", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:5": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·oqprv6·azurespecials-apiversion-method-string-none-query-local-2-0·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·oqprv6·azurespecials-apiversion-method-string-none-query-local-2-0·get·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·l8ugim·azurespecials-apiversion-path-string-none-query-local-2-0·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1xao971·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·parameters·0" - ] - }, - "name": "api-version", - "in": "query", - "description": "This should appear as a method parameter, use value '2.0'", - "schema": { - "enum": [ - "2.0" - ], - "type": "string" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:6": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·sat5vf·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·sat5vf·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0" - ] - }, - "name": "api-version", - "in": "query", - "description": "This should appear as a method parameter, use value null, this should result in no serialized parameter", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "x-ms-parameter-location": "method" - }, - "parameters:9": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1ckteig·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1ckteig·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·9cf68q·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·parameters·0" - ] - }, - "name": "unencodedPathParam", - "in": "path", - "description": "Unencoded path parameter with value 'path1/path2/path3'", - "x-ms-skip-url-encoding": true, - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:11": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·195r9zy·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·195r9zy·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·parameters·0" - ] - }, - "name": "unencodedPathParam", - "in": "path", - "description": "An unencoded path parameter with value 'path1/path2/path3'", - "x-ms-skip-url-encoding": true, - "schema": { - "enum": [ - "path1/path2/path3" - ], - "type": "string" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:12": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·178226·azurespecials-skipurlencoding-method-query-valid·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·178226·azurespecials-skipurlencoding-method-query-valid·get·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·id243m·azurespecials-skipurlencoding-path-query-valid·parameters·0" - ] - }, - "name": "q1", - "in": "query", - "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "allowReserved": true, - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:13": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·5yqpsk·azurespecials-skipurlencoding-method-query-null·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·5yqpsk·azurespecials-skipurlencoding-method-query-null·get·parameters·0" - ] - }, - "name": "q1", - "in": "query", - "description": "Unencoded query parameter with value null", - "allowReserved": true, - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "x-ms-parameter-location": "method" - }, - "parameters:15": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·4ilskq·azurespecials-skipurlencoding-swagger-query-valid·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·4ilskq·azurespecials-skipurlencoding-swagger-query-valid·get·parameters·0" - ] - }, - "name": "q1", - "in": "query", - "description": "An unencoded query parameter with value 'value1&q2=value2&q3=value3'", - "allowReserved": true, - "schema": { - "enum": [ - "value1&q2=value2&q3=value3" - ], - "type": "string" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:16": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1wkvdyi·azurespecials-odata-filter·get·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1wkvdyi·azurespecials-odata-filter·get·parameters·0" - ] - }, - "name": "$filter", - "in": "query", - "description": "The filter parameter with value '$filter=id gt 5 and name eq 'foo''.", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": false, - "x-ms-parameter-location": "method" - }, - "parameters:17": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·9kz8zj·azurespecials-odata-filter·get·parameters·1", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·9kz8zj·azurespecials-odata-filter·get·parameters·1" - ] - }, - "name": "$top", - "in": "query", - "description": "The top parameter with value 10.", - "schema": { - "$ref": "#/components/schemas/schemas:12" - }, - "required": false, - "x-ms-parameter-location": "method" - }, - "parameters:18": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·u78kmv·azurespecials-odata-filter·get·parameters·2", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·u78kmv·azurespecials-odata-filter·get·parameters·2" - ] - }, - "name": "$orderby", - "in": "query", - "description": "The orderby parameter with value id.", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": false, - "x-ms-parameter-location": "method" - }, - "parameters:19": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·mt1g39·azurespecials-customnamedrequestid·post·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·mt1g39·azurespecials-customnamedrequestid·post·parameters·0", - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1j3gqv4·azurespecials-customnamedrequestidhead·head·parameters·0" - ] - }, - "name": "foo-client-request-id", - "in": "header", - "description": "The fooRequestId", - "x-ms-client-request-id": true, - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:20": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·8fwx7v·azurespecials-customnamedrequestidparamgrouping·post·parameters·0", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·8fwx7v·azurespecials-customnamedrequestidparamgrouping·post·parameters·0" - ] - }, - "name": "foo-client-request-id", - "in": "header", - "description": "The fooRequestId", - "x-ms-parameter-grouping": {}, - "x-ms-client-request-id": true, - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true, - "x-ms-parameter-location": "method" - }, - "parameters:22": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "globalSubscriptionId", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/globalSubscriptionId" - ] - }, - "name": "subscriptionId", - "in": "path", - "description": "The subscription id, which appears in the path, always modeled in credentials. The value is always '1234-5678-9012-3456'", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true - }, - "parameters:23": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "globalApiVersion", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/globalApiVersion" - ] - }, - "name": "api-version", - "in": "query", - "description": "The api version, which appears in the query, the value is always '2015-07-01-preview'", - "schema": { - "$ref": "#/components/schemas/schemas:15" - }, - "required": true - } - }, - "schemas": { - "schemas:12": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1pvvehw·azurespecials-odata-filter·get·parameters·1·schema", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1pvvehw·azurespecials-odata-filter·get·parameters·1·schema" - ] - }, - "format": "int32", - "type": "integer" - }, - "schemas:15": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1qs10oj·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id·schema", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1qs10oj·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·q2n6pe·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1u4a9k3·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1xoty8p·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·12farzm·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·spxtot·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·aovff4·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·iokwvk·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1cln7ix·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·17bvpxy·azurespecials-skipurlencoding-method-query-valid·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·o7ic7n·azurespecials-skipurlencoding-method-query-null·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1j5ocbm·azurespecials-skipurlencoding-path-query-valid·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·mz80pz·azurespecials-odata-filter·get·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·3kdg04·azurespecials-odata-filter·get·parameters·2·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1jv0gob·azurespecials-customnamedrequestid·post·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·xwo5xh·azurespecials-customnamedrequestidparamgrouping·post·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·bdjdld·azurespecials-customnamedrequestidparamgrouping·post·responses·200·headers·foo_request_id·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·163qkbc·azurespecials-customnamedrequestidhead·head·parameters·0·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·r7px73·azurespecials-customnamedrequestidhead·head·responses·200·headers·foo_request_id·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/components·xocfdz·parameters·globalsubscriptionid·schema", - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/components·1t72xc6·parameters·globalapiversion·schema" - ] - }, - "type": "string" - }, - "schemas:22": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "Error", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/Error" - ] - }, - "type": "object", - "properties": { - "status": { - "type": "integer", - "format": "int32" - }, - "constantId": { - "type": "integer", - "enum": [ - 1 + "apiVersions": [ + "2015-07-01-preview" ] - }, - "message": { - "$ref": "#/components/schemas/schemas:23" - } }, - "required": [ - "constantId" - ] - }, - "schemas:23": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "Error-message", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/Error-message" - ] - }, - "type": "string" - }, - "schemas:24": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "OdataFilter", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/OdataFilter" - ] - }, - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "$ref": "#/components/schemas/schemas:25" - } - } - }, - "schemas:25": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "OdataFilter-name", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/OdataFilter-name" - ] - }, - "type": "string" - } + "version": "2015-07-01-preview" }, - "headers": { - "headers:0": { - "x-ms-metadata": { - "apiVersions": [ - "2015-07-01-preview" - ], - "filename": [ - "mem:///102?oai3.shaken.json" - ], - "name": "paths·1hcwi0c·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id", - "originalLocations": [ - "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1hcwi0c·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id", - "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1kimlns·azurespecials-customnamedrequestidparamgrouping·post·responses·200·headers·foo_request_id", - "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1drmyzm·azurespecials-customnamedrequestidhead·head·responses·200·headers·foo_request_id" - ] + "paths": { + "path:0": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/overwrite/x-ms-client-request-id/method/", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1method~1" + ] + } }, - "schema": { - "$ref": "#/components/schemas/schemas:15" + "path:0.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/overwrite/x-ms-client-request-id/method/", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1method~1" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "x-ms-client-request-id_Get", + "description": "Get method that overwrites x-ms-client-request header with value 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "responses": { + "200": { + "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:0" + } + } + } }, - "description": "Gets the foo-request-id." - } - } - }, - "servers": [ - { - "url": "http://localhost:3000/" - } - ] + "path:1": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/overwrite/x-ms-client-request-id/via-param/method/", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1via-param~1method~1" + ] + } + }, + "path:1.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/overwrite/x-ms-client-request-id/via-param/method/", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1overwrite~1x-ms-client-request-id~1via-param~1method~1" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "x-ms-client-request-id_ParamGet", + "description": "Get method that overwrites x-ms-client-request header with value 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:0", + "description": "This should appear as a method parameter, use value '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'" + } + ], + "responses": { + "200": { + "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:2": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:2.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInCredentials_postMethodGlobalValid", + "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:22" + } + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:3": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/global/null/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~1null~1{subscriptionId}" + ] + } + }, + "path:3.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/global/null/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1global~1null~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInCredentials_postMethodGlobalNull", + "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to null, and client-side validation should prevent you from making this call", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:22" + } + ], + "responses": { + "200": { + "description": "This should never occur - you should be prevented from calling this method with null subscription Id in credentials", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:4": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/globalNotProvided/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1globalNotProvided~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:4.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/globalNotProvided/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1globalNotProvided~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInCredentials_postMethodGlobalNotProvidedValid", + "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:22" + }, + { + "$ref": "#/components/parameters/parameters:23" + } + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:5": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:5.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInMethod_postMethodLocalValid", + "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInMethod Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:1", + "description": "This should appear as a method parameter, use value '1234-5678-9012-3456'" + } + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:6": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/local/null/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~1null~1{subscriptionId}" + ] + } + }, + "path:6.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/method/string/none/path/local/null/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1method~1string~1none~1path~1local~1null~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInMethod_postMethodLocalNull", + "description": "POST method with subscriptionId modeled in the method. pass in subscription id = null, client-side validation should prevent you from making this call", + "tags": [ + "SubscriptionInMethod Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:1", + "description": "This should appear as a method parameter, use value null, client-side validation should prvenet the call" + } + ], + "responses": { + "200": { + "description": "You should not reach this response - client side validation should prevent yopu from sending a null subscriptionId", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:7": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/path/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:7.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/path/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:22" + } + ], + "operationId": "subscriptionInCredentials_postPathGlobalValid", + "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:8": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/path/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:8.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/path/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1path~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:1", + "description": "Should appear as a method parameter -use value '1234-5678-9012-3456'" + } + ], + "operationId": "subscriptionInMethod_postPathLocalValid", + "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInMethod Operations" + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:9": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/swagger/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:9.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/swagger/string/none/path/global/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1global~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInCredentials_postSwaggerGlobalValid", + "description": "POST method with subscriptionId modeled in credentials. Set the credential subscriptionId to '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInCredentials Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:22" + } + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from credentials", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:10": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/swagger/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + } + }, + "path:10.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/subscriptionId/swagger/string/none/path/local/1234-5678-9012-3456/{subscriptionId}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1subscriptionId~1swagger~1string~1none~1path~1local~11234-5678-9012-3456~1{subscriptionId}" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "subscriptionInMethod_postSwaggerLocalValid", + "description": "POST method with subscriptionId modeled in the method. pass in subscription id = '1234-5678-9012-3456' to succeed", + "tags": [ + "SubscriptionInMethod Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:1", + "description": "The subscriptionId, which appears in the path, the value is always '1234-5678-9012-3456'" + } + ], + "responses": { + "200": { + "description": "Successfully received the '1234-5678-9012-3456' credential value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:11": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1global~12015-07-01-preview" + ] + } + }, + "path:11.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1global~12015-07-01-preview" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionDefault_getMethodGlobalValid", + "description": "GET method with api-version modeled in global settings.", + "tags": [ + "ApiVersionDefault Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:23" + } + ], + "responses": { + "200": { + "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:12": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/globalNotProvided/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1globalNotProvided~12015-07-01-preview" + ] + } + }, + "path:12.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/globalNotProvided/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1globalNotProvided~12015-07-01-preview" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionDefault_getMethodGlobalNotProvidedValid", + "description": "GET method with api-version modeled in global settings.", + "tags": [ + "ApiVersionDefault Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:23" + } + ], + "responses": { + "200": { + "description": "Successfully received the '2015-07-01-preview' credential value from global client settings", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:13": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~12.0" + ] + } + }, + "path:13.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~12.0" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionLocal_getMethodLocalValid", + "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", + "tags": [ + "ApiVersionLocal Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:5", + "description": "This should appear as a method parameter, use value '2.0'" + } + ], + "responses": { + "200": { + "description": "Successfully received the '2.0' api-version value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:14": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/local/null", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~1null" + ] + } + }, + "path:14.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/method/string/none/query/local/null", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1method~1string~1none~1query~1local~1null" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionLocal_getMethodLocalNull", + "description": "Get method with api-version modeled in the method. pass in api-version = null to succeed", + "tags": [ + "ApiVersionLocal Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:6", + "description": "This should appear as a method parameter, use value null, this should result in no serialized parameter" + } + ], + "responses": { + "200": { + "description": "Successfully received no api-version value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:15": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/path/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1global~12015-07-01-preview" + ] + } + }, + "path:15.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/path/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1global~12015-07-01-preview" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:23" + } + ], + "operationId": "apiVersionDefault_getPathGlobalValid", + "description": "GET method with api-version modeled in global settings.", + "tags": [ + "ApiVersionDefault Operations" + ], + "responses": { + "200": { + "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:16": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/path/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1local~12.0" + ] + } + }, + "path:16.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/path/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1path~1string~1none~1query~1local~12.0" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:5", + "description": "This should appear as a method parameter, use value '2.0'" + } + ], + "operationId": "apiVersionLocal_getPathLocalValid", + "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", + "tags": [ + "ApiVersionLocal Operations" + ], + "responses": { + "200": { + "description": "Successfully received the '2.0' api-version value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:17": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/swagger/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1global~12015-07-01-preview" + ] + } + }, + "path:17.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/swagger/string/none/query/global/2015-07-01-preview", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1global~12015-07-01-preview" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionDefault_getSwaggerGlobalValid", + "description": "GET method with api-version modeled in global settings.", + "tags": [ + "ApiVersionDefault Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:23" + } + ], + "responses": { + "200": { + "description": "Successfully received the '2015-07-01-preview' api-version value from global client settings", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:18": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/swagger/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1local~12.0" + ] + } + }, + "path:18.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/apiVersion/swagger/string/none/query/local/2.0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1apiVersion~1swagger~1string~1none~1query~1local~12.0" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "apiVersionLocal_getSwaggerLocalValid", + "description": "Get method with api-version modeled in the method. pass in api-version = '2.0' to succeed", + "tags": [ + "ApiVersionLocal Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:5", + "description": "The api version, which appears in the query, the value is always '2.0'" + } + ], + "responses": { + "200": { + "description": "Successfully received the '2.0' api-version value from the local parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:19": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1path~1valid~1{unencodedPathParam}" + ] + } + }, + "path:19.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1path~1valid~1{unencodedPathParam}" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "skipUrlEncoding_getMethodPathValid", + "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:9", + "description": "Unencoded path parameter with value 'path1/path2/path3'" + } + ], + "responses": { + "200": { + "description": "Successfully received the path parameter with value 'path1/path2/path3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:20": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/path/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1path~1valid~1{unencodedPathParam}" + ] + } + }, + "path:20.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/path/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1path~1valid~1{unencodedPathParam}" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:9", + "description": "Unencoded path parameter with value 'path1/path2/path3'" + } + ], + "operationId": "skipUrlEncoding_getPathPathValid", + "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "responses": { + "200": { + "description": "Successfully received the path parameter with value 'path1/path2/path3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:21": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/swagger/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1path~1valid~1{unencodedPathParam}" + ] + } + }, + "path:21.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/swagger/path/valid/{unencodedPathParam}", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1path~1valid~1{unencodedPathParam}" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "skipUrlEncoding_getSwaggerPathValid", + "description": "Get method with unencoded path parameter with value 'path1/path2/path3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:11", + "description": "An unencoded path parameter with value 'path1/path2/path3'" + } + ], + "responses": { + "200": { + "description": "Successfully received the path parameter with value 'path1/path2/path3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:22": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1valid" + ] + } + }, + "path:22.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1valid" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "skipUrlEncoding_getMethodQueryValid", + "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:12", + "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'" + } + ], + "responses": { + "200": { + "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:23": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/query/null", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1null" + ] + } + }, + "path:23.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/method/query/null", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1method~1query~1null" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "skipUrlEncoding_getMethodQueryNull", + "description": "Get method with unencoded query parameter with value null", + "tags": [ + "SkipUrlEncoding Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:13", + "description": "Unencoded query parameter with value null" + } + ], + "responses": { + "200": { + "description": "Successfully received no query parameter", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:24": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/path/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1query~1valid" + ] + } + }, + "path:24.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/path/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1path~1query~1valid" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:12", + "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'" + } + ], + "operationId": "skipUrlEncoding_getPathQueryValid", + "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "responses": { + "200": { + "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:25": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/swagger/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1query~1valid" + ] + } + }, + "path:25.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/skipUrlEncoding/swagger/query/valid", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1skipUrlEncoding~1swagger~1query~1valid" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "skipUrlEncoding_getSwaggerQueryValid", + "description": "Get method with unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "tags": [ + "SkipUrlEncoding Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:15", + "description": "An unencoded query parameter with value 'value1&q2=value2&q3=value3'" + } + ], + "responses": { + "200": { + "description": "Successfully received the unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:26": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/odata/filter", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1odata~1filter" + ] + } + }, + "path:26.get": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/odata/filter", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1odata~1filter" + ] + }, + "get": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "odata_getWithFilter", + "description": "Specify filter parameter with value '$filter=id gt 5 and name eq 'foo'&$orderby=id&$top=10'", + "tags": [ + "odata Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/parameters:16", + "description": "The filter parameter with value '$filter=id gt 5 and name eq 'foo''." + }, + { + "$ref": "#/components/parameters/parameters:17", + "description": "The top parameter with value 10." + }, + { + "$ref": "#/components/parameters/parameters:18", + "description": "The orderby parameter with value id." + } + ], + "responses": { + "200": { + "description": "Successfully received filter parameter with value '$filter=id gt 5 and name eq 'foo'&$orderby=id&$top=10'", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + }, + "x-ms-odata": "#/components/schemas/OdataFilter" + } + }, + "path:27": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestId", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestId" + ] + } + }, + "path:27.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestId", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestId" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "header_customNamedRequestId", + "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request", + "parameters": [ + { + "$ref": "#/components/parameters/parameters:19", + "description": "The fooRequestId" + } + ], + "tags": [ + "Header Operations" + ], + "x-ms-request-id": "foo-request-id", + "responses": { + "200": { + "description": "Gets the foo-request-id", + "$ref": "#/components/responses/responses:54" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:28": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestIdParamGrouping", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdParamGrouping" + ] + } + }, + "path:28.post": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestIdParamGrouping", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdParamGrouping" + ] + }, + "post": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "header_customNamedRequestIdParamGrouping", + "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request, via a parameter group", + "parameters": [ + { + "$ref": "#/components/parameters/parameters:20", + "description": "The fooRequestId" + } + ], + "tags": [ + "Header Operations" + ], + "x-ms-request-id": "foo-request-id", + "responses": { + "200": { + "description": "Gets the foo-request-id", + "$ref": "#/components/responses/responses:54" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + }, + "path:29": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestIdHead", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdHead" + ] + } + }, + "path:29.head": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "path": "/azurespecials/customNamedRequestIdHead", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/paths/~1azurespecials~1customNamedRequestIdHead" + ] + }, + "head": { + "servers": [ + { + "url": "http://localhost:3000/" + } + ], + "operationId": "header_customNamedRequestIdHead", + "description": "Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request", + "parameters": [ + { + "$ref": "#/components/parameters/parameters:19", + "description": "The fooRequestId" + } + ], + "tags": [ + "Header Operations" + ], + "x-ms-request-id": "foo-request-id", + "responses": { + "200": { + "description": "Gets the foo-request-id", + "$ref": "#/components/responses/responses:54" + }, + "404": { + "description": "Gets the foo-request-id", + "$ref": "#/components/responses/responses:0" + }, + "default": { + "description": "Unexpected error", + "$ref": "#/components/responses/responses:3" + } + } + } + } + }, + "components": { + "responses": { + "responses:0": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·5qywp8·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·200", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·5qywp8·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1jqlu1d·azurespecials-overwrite-x_ms_client_request_id-method·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1s2ah9j·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·19zq5tm·azurespecials-subscriptionid-method-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1u8jjza·azurespecials-subscriptionid-method-string-none-path-global-null-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1qi88jc·azurespecials-subscriptionid-method-string-none-path-globalnotprovided-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·pqbdb7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·17r4mml·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·7aiuw6·azurespecials-subscriptionid-path-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·11exe3v·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1fzajj8·azurespecials-subscriptionid-swagger-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·inubbd·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1btp629·azurespecials-apiversion-method-string-none-query-global-2015_07_01_preview·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1hijhlr·azurespecials-apiversion-method-string-none-query-globalnotprovided-2015_07_01_preview·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ixhzi1·azurespecials-apiversion-method-string-none-query-local-2-0·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1dmenn7·azurespecials-apiversion-method-string-none-query-local-null·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·radujc·azurespecials-apiversion-path-string-none-query-global-2015_07_01_preview·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·endpb3·azurespecials-apiversion-path-string-none-query-local-2-0·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ajq0w8·azurespecials-apiversion-swagger-string-none-query-global-2015_07_01_preview·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·hu0rwh·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1qaayqm·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1dlmuk5·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1bucqc6·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ebqzxs·azurespecials-skipurlencoding-method-query-valid·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1tq0pso·azurespecials-skipurlencoding-method-query-null·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·10v7bc4·azurespecials-skipurlencoding-path-query-valid·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1habayn·azurespecials-skipurlencoding-swagger-query-valid·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·8uyl7e·azurespecials-odata-filter·get·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·hch8pc·azurespecials-customnamedrequestidhead·head·responses·404" + ] + }, + "description": "Successfully received the '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0' x-ms-client-request header" + }, + "responses:3": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·xt67h0·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·default", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·xt67h0·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1wzco8j·azurespecials-subscriptionid-method-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·nppdvb·azurespecials-subscriptionid-method-string-none-path-global-null-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·kwk5gx·azurespecials-subscriptionid-method-string-none-path-globalnotprovided-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1r2ejbo·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1mkzk6r·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·jrrdf8·azurespecials-subscriptionid-path-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·x29ypr·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1fc21o0·azurespecials-subscriptionid-swagger-string-none-path-global-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·z9emvz·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·orcudw·azurespecials-apiversion-method-string-none-query-global-2015_07_01_preview·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·wke8v8·azurespecials-apiversion-method-string-none-query-globalnotprovided-2015_07_01_preview·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·5clxjh·azurespecials-apiversion-method-string-none-query-local-2-0·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·bmwb6e·azurespecials-apiversion-method-string-none-query-local-null·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·ch63z0·azurespecials-apiversion-path-string-none-query-global-2015_07_01_preview·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1o64mob·azurespecials-apiversion-path-string-none-query-local-2-0·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1wn2mu0·azurespecials-apiversion-swagger-string-none-query-global-2015_07_01_preview·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1y7oxq1·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1x9f2o4·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·188yiqi·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·w6gw7s·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·g4ixk0·azurespecials-skipurlencoding-method-query-valid·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1rnasdz·azurespecials-skipurlencoding-method-query-null·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1sk7nhf·azurespecials-skipurlencoding-path-query-valid·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·jbufiq·azurespecials-skipurlencoding-swagger-query-valid·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·t60108·azurespecials-odata-filter·get·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1yzn8mm·azurespecials-customnamedrequestid·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·17legpn·azurespecials-customnamedrequestidparamgrouping·post·responses·default", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1vc0z2g·azurespecials-customnamedrequestidhead·head·responses·default" + ] + }, + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/schemas:22" + } + } + } + }, + "responses:54": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·13lr3a5·azurespecials-customnamedrequestid·post·responses·200", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·13lr3a5·azurespecials-customnamedrequestid·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1aiba9e·azurespecials-customnamedrequestidparamgrouping·post·responses·200", + "http://localhost:3000/__files/azure-special-properties.json#/components/responses/paths·1f7yc2w·azurespecials-customnamedrequestidhead·head·responses·200" + ] + }, + "description": "Gets the foo-request-id", + "headers": { + "foo-request-id": { + "description": "Gets the foo-request-id.", + "$ref": "#/components/headers/headers:0" + } + } + } + }, + "parameters": { + "parameters:0": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1levhk3·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1levhk3·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0" + ] + }, + "name": "x-ms-client-request-id", + "in": "header", + "description": "This should appear as a method parameter, use value '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:1": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·ckbkk7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·ckbkk7·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1w8er9j·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·aic638·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·g23j07·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0" + ] + }, + "name": "subscriptionId", + "in": "path", + "description": "This should appear as a method parameter, use value '1234-5678-9012-3456'", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:5": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·oqprv6·azurespecials-apiversion-method-string-none-query-local-2-0·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·oqprv6·azurespecials-apiversion-method-string-none-query-local-2-0·get·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·l8ugim·azurespecials-apiversion-path-string-none-query-local-2-0·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1xao971·azurespecials-apiversion-swagger-string-none-query-local-2-0·get·parameters·0" + ] + }, + "name": "api-version", + "in": "query", + "description": "This should appear as a method parameter, use value '2.0'", + "schema": { + "enum": [ + "2.0" + ], + "type": "string" + }, + "required": true, + "x-ms-api-version": false, + "x-ms-parameter-location": "method" + }, + "parameters:6": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·sat5vf·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·sat5vf·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0" + ] + }, + "name": "api-version", + "in": "query", + "description": "This should appear as a method parameter, use value null, this should result in no serialized parameter", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "x-ms-parameter-location": "method" + }, + "parameters:9": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1ckteig·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1ckteig·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·9cf68q·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·parameters·0" + ] + }, + "name": "unencodedPathParam", + "in": "path", + "description": "Unencoded path parameter with value 'path1/path2/path3'", + "x-ms-skip-url-encoding": true, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:11": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·195r9zy·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·195r9zy·azurespecials-skipurlencoding-swagger-path-valid-unencodedpathparam·get·parameters·0" + ] + }, + "name": "unencodedPathParam", + "in": "path", + "description": "An unencoded path parameter with value 'path1/path2/path3'", + "x-ms-skip-url-encoding": true, + "schema": { + "enum": [ + "path1/path2/path3" + ], + "type": "string" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:12": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·178226·azurespecials-skipurlencoding-method-query-valid·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·178226·azurespecials-skipurlencoding-method-query-valid·get·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·id243m·azurespecials-skipurlencoding-path-query-valid·parameters·0" + ] + }, + "name": "q1", + "in": "query", + "description": "Unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "allowReserved": true, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:13": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·5yqpsk·azurespecials-skipurlencoding-method-query-null·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·5yqpsk·azurespecials-skipurlencoding-method-query-null·get·parameters·0" + ] + }, + "name": "q1", + "in": "query", + "description": "Unencoded query parameter with value null", + "allowReserved": true, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "x-ms-parameter-location": "method" + }, + "parameters:15": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·4ilskq·azurespecials-skipurlencoding-swagger-query-valid·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·4ilskq·azurespecials-skipurlencoding-swagger-query-valid·get·parameters·0" + ] + }, + "name": "q1", + "in": "query", + "description": "An unencoded query parameter with value 'value1&q2=value2&q3=value3'", + "allowReserved": true, + "schema": { + "enum": [ + "value1&q2=value2&q3=value3" + ], + "type": "string" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:16": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1wkvdyi·azurespecials-odata-filter·get·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1wkvdyi·azurespecials-odata-filter·get·parameters·0" + ] + }, + "name": "$filter", + "in": "query", + "description": "The filter parameter with value '$filter=id gt 5 and name eq 'foo''.", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": false, + "x-ms-parameter-location": "method" + }, + "parameters:17": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·9kz8zj·azurespecials-odata-filter·get·parameters·1", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·9kz8zj·azurespecials-odata-filter·get·parameters·1" + ] + }, + "name": "$top", + "in": "query", + "description": "The top parameter with value 10.", + "schema": { + "$ref": "#/components/schemas/schemas:12" + }, + "required": false, + "x-ms-parameter-location": "method" + }, + "parameters:18": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·u78kmv·azurespecials-odata-filter·get·parameters·2", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·u78kmv·azurespecials-odata-filter·get·parameters·2" + ] + }, + "name": "$orderby", + "in": "query", + "description": "The orderby parameter with value id.", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": false, + "x-ms-parameter-location": "method" + }, + "parameters:19": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·mt1g39·azurespecials-customnamedrequestid·post·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·mt1g39·azurespecials-customnamedrequestid·post·parameters·0", + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·1j3gqv4·azurespecials-customnamedrequestidhead·head·parameters·0" + ] + }, + "name": "foo-client-request-id", + "in": "header", + "description": "The fooRequestId", + "x-ms-client-request-id": true, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:20": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·8fwx7v·azurespecials-customnamedrequestidparamgrouping·post·parameters·0", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/paths·8fwx7v·azurespecials-customnamedrequestidparamgrouping·post·parameters·0" + ] + }, + "name": "foo-client-request-id", + "in": "header", + "description": "The fooRequestId", + "x-ms-parameter-grouping": {}, + "x-ms-client-request-id": true, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true, + "x-ms-parameter-location": "method" + }, + "parameters:22": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "globalSubscriptionId", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/globalSubscriptionId" + ] + }, + "name": "subscriptionId", + "in": "path", + "description": "The subscription id, which appears in the path, always modeled in credentials. The value is always '1234-5678-9012-3456'", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true + }, + "parameters:23": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "globalApiVersion", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/parameters/globalApiVersion" + ] + }, + "name": "api-version", + "in": "query", + "description": "The api version, which appears in the query, the value is always '2015-07-01-preview'", + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "required": true + } + }, + "schemas": { + "schemas:12": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1pvvehw·azurespecials-odata-filter·get·parameters·1·schema", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1pvvehw·azurespecials-odata-filter·get·parameters·1·schema" + ] + }, + "format": "int32", + "type": "integer" + }, + "schemas:15": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1qs10oj·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id·schema", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1qs10oj·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·q2n6pe·azurespecials-overwrite-x_ms_client_request_id-via_param-method·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1u4a9k3·azurespecials-subscriptionid-method-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1xoty8p·azurespecials-subscriptionid-method-string-none-path-local-null-subscriptionid·post·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·12farzm·azurespecials-subscriptionid-path-string-none-path-local-1234_5678_9012_3456-subscriptionid·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·spxtot·azurespecials-subscriptionid-swagger-string-none-path-local-1234_5678_9012_3456-subscriptionid·post·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·aovff4·azurespecials-apiversion-method-string-none-query-local-null·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·iokwvk·azurespecials-skipurlencoding-method-path-valid-unencodedpathparam·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1cln7ix·azurespecials-skipurlencoding-path-path-valid-unencodedpathparam·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·17bvpxy·azurespecials-skipurlencoding-method-query-valid·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·o7ic7n·azurespecials-skipurlencoding-method-query-null·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1j5ocbm·azurespecials-skipurlencoding-path-query-valid·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·mz80pz·azurespecials-odata-filter·get·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·3kdg04·azurespecials-odata-filter·get·parameters·2·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·1jv0gob·azurespecials-customnamedrequestid·post·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·xwo5xh·azurespecials-customnamedrequestidparamgrouping·post·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·bdjdld·azurespecials-customnamedrequestidparamgrouping·post·responses·200·headers·foo_request_id·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·163qkbc·azurespecials-customnamedrequestidhead·head·parameters·0·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/paths·r7px73·azurespecials-customnamedrequestidhead·head·responses·200·headers·foo_request_id·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/components·xocfdz·parameters·globalsubscriptionid·schema", + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/components·1t72xc6·parameters·globalapiversion·schema" + ] + }, + "type": "string" + }, + "schemas:22": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "Error", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/Error" + ] + }, + "type": "object", + "properties": { + "status": { + "type": "integer", + "format": "int32" + }, + "constantId": { + "type": "integer", + "enum": [ + 1 + ] + }, + "message": { + "$ref": "#/components/schemas/schemas:23" + } + }, + "required": [ + "constantId" + ] + }, + "schemas:23": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "Error-message", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/Error-message" + ] + }, + "type": "string" + }, + "schemas:24": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "OdataFilter", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/OdataFilter" + ] + }, + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "$ref": "#/components/schemas/schemas:25" + } + } + }, + "schemas:25": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "OdataFilter-name", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/schemas/OdataFilter-name" + ] + }, + "type": "string" + } + }, + "headers": { + "headers:0": { + "x-ms-metadata": { + "apiVersions": [ + "2015-07-01-preview" + ], + "filename": [ + "mem:///102?oai3.shaken.json" + ], + "name": "paths·1hcwi0c·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id", + "originalLocations": [ + "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1hcwi0c·azurespecials-customnamedrequestid·post·responses·200·headers·foo_request_id", + "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1kimlns·azurespecials-customnamedrequestidparamgrouping·post·responses·200·headers·foo_request_id", + "http://localhost:3000/__files/azure-special-properties.json#/components/headers/paths·1drmyzm·azurespecials-customnamedrequestidhead·head·responses·200·headers·foo_request_id" + ] + }, + "schema": { + "$ref": "#/components/schemas/schemas:15" + }, + "description": "Gets the foo-request-id." + } + } + }, + "servers": [ + { + "url": "http://localhost:3000/" + } + ] } \ No newline at end of file