9746 строки
427 KiB
Plaintext
9746 строки
427 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`test generate example from mocker,LRO header: ,readme:eventgrid,tag:package-2020-06 1`] = `
|
|
Object {
|
|
"201": Object {
|
|
"body": Object {
|
|
"location": "aaaaaaaaaaa",
|
|
},
|
|
"headers": Object {
|
|
"Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/20a9996a-0715-492e-8ac8-d51dada0174a/providers/Microsoft.EventGrid/locations/southcentralus/operationsStatus/D1ED3992-E192-452C-99B7-F6C56BE7A7EA?api-version=2020-06-01",
|
|
},
|
|
},
|
|
}
|
|
`;
|
|
|
|
exports[`test generate example from mocker,readme:agrifood: ,tag:package-preview-2023-06 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/PrivateEndpointConnections_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "PrivateEndpointConnections_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2621,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/PrivateEndpointConnections_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "PrivateEndpointConnections_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2621,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_CreateOrUpdate",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 32,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_CreateOrUpdate",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 32,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_Get_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_Get",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 100,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_Get_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_Get",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 100,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_Delete_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_Delete",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 100,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "PATTERN",
|
|
"exampleJsonPath": "$parameters.solutionId",
|
|
"examplePosition": Object {
|
|
"column": 19,
|
|
"line": 8,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/examples/Solutions_Delete_MaximumSet_Gen.json",
|
|
"message": "String does not match pattern ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$: Replace this value with a string matching RegExp ^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
|
|
"operationId": "Solutions_Delete",
|
|
"schemaJsonPath": "solutionId/pattern",
|
|
"schemaPosition": Object {
|
|
"column": 11,
|
|
"line": 100,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json",
|
|
"severity": 0,
|
|
"source": "request",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from mocker,readme:eventgrid: ,tag:package-2020-06 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/PrivateEndpointConnections_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "PrivateEndpointConnections_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2621,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/PrivateEndpointConnections_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "PrivateEndpointConnections_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2621,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from mocker,readme:signalr: ,tag:package-2020-05-01 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from mocker,readme:sql: ,tag:package-pure-2020-02-preview 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpdateShortTermRetentionPolicy.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "BackupShortTermRetentionPolicies_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 199,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/BackupShortTermRetentionPolicies.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/Databases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Databases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 17,
|
|
"line": 1181,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/DeleteDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 232,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchVCoreDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PatchDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 288,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/PauseDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Pause",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 399,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ResumeDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Resume",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 452,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/FailoverDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Failover",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 520,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/UpgradeDataWarehouse.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_UpgradeDataWarehouse",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 570,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Import",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 683,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ImportNewDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_ImportDatabase",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 741,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseCompleteExternalRestore.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_CompleteRestore",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 334,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/AzureADOnlyAuthDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerAzureADOnlyAuthentications_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 187,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerTrustGroupDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ServerTrustGroups_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 178,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerTrustGroups.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from payload,rp:eventgrid: ,tag:package-2020-06 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Domains_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 15,
|
|
"line": 3417,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Domains_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 177,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "DomainTopics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 678,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForSubscription.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResourceGroup.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForResource.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_DeleteForCustomTopic.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "EventSubscriptions_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 946,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 10,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "Topics_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 14,
|
|
"line": 4602,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Topics_Delete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Topics_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 2070,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from payload,rp:signalr: ,tag:package-2020-05-01 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
exports[`test generate example from payload,rp:sql: ,tag:package-pure-2020-02-preview 1`] = `
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabase.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ExportDatabaseWithNetworkIsolation.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "Databases_Export",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 802,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/Databases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 11,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_Get_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_Get",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 18,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedDatabases_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 146,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.200.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 14,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "MISSING_RESOURCE_ID",
|
|
"exampleJsonPath": "$responses.201.body",
|
|
"examplePosition": Object {
|
|
"column": 15,
|
|
"line": 22,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabases_CreateOrUpdate_MinimumSet_Gen.json",
|
|
"message": "id is required to return in response of GET/PUT resource calls but not being provided",
|
|
"operationId": "ManagedDatabases_CreateOrUpdate",
|
|
"schemaJsonPath": "#/x-ms-azure-resource",
|
|
"schemaPosition": Object {
|
|
"column": 24,
|
|
"line": 577,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseDelete.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Delete",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 217,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMin.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
Object {
|
|
"code": "LRO_RESPONSE_HEADER",
|
|
"exampleJsonPath": "responses/202/headers",
|
|
"examplePosition": undefined,
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedDatabaseUpdateMax.json",
|
|
"message": "Long running operation should return location or azure-AsyncOperation in header but not provided",
|
|
"operationId": "ManagedDatabases_Update",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 273,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedDatabases.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ManagedInstanceAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ManagedInstanceAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
"the validation raised below error:",
|
|
Array [
|
|
Object {
|
|
"code": "RESPONSE_BODY_NOT_IN_EXAMPLE",
|
|
"exampleJsonPath": "$response.201",
|
|
"examplePosition": Object {
|
|
"column": 16,
|
|
"line": 16,
|
|
},
|
|
"exampleUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/examples/ServerAzureADOnlyAuthentications_CreateOrUpdate_MaximumSet_Gen.json",
|
|
"message": "Response statusCode 201 for operation ServerAzureADOnlyAuthentications_CreateOrUpdate has no response body provided in the example, however the response does have a \\"schema\\" defined in the swagger spec.",
|
|
"operationId": "ServerAzureADOnlyAuthentications_CreateOrUpdate",
|
|
"schemaJsonPath": undefined,
|
|
"schemaPosition": Object {
|
|
"column": 22,
|
|
"line": 120,
|
|
},
|
|
"schemaUrl": "test/exampleGenerator/specification/sql/resource-manager/Microsoft.Sql/preview/2020-02-02-preview/ServerAzureADOnlyAuthentications.json",
|
|
"severity": 0,
|
|
"source": "response",
|
|
},
|
|
],
|
|
]
|
|
`;
|