Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typespec and swagger for StorageDataRP #31922

Typespec and swagger for StorageDataRP

1c0bbae
Select commit
Loading
Failed to load commit list.
Closed

Typespec and swagger for StorageDataRP #31922

Typespec and swagger for StorageDataRP
1c0bbae
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger ModelValidation failed Jan 3, 2025 in 3m 31s

Swagger ModelValidation failed

ModelValidation: 64 Errors, 0 Warnings
View Azure DevOps build log for more details.

Details

Only 50 items are listed, please refer to log for more details.

Rule Message
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L50:14
ExampleUrl: preview/2024-11-01-preview/examples/Operations_List.json#L4:17
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: api-version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L640:28
ExampleUrl: preview/2024-11-01-preview/examples/Operations_List.json#L5:20
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L86:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_ListByStorageAccount, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L86:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L102:11
INVALID_TYPE Expected type object but found type array
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L669:28
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L11:15
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L135:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_Get, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L135:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json#L151:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L187:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_CreateOrReplace, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L187:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L203:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L9:17
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json
RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 201 for operation Connectors_CreateOrReplace were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L235:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L28:16
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L269:16
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_Update, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L269:16
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json#L285:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json
RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 202 for operation Connectors_Update were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L317:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json#L15:16
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_Delete, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L348:17
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Delete.json#L364:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Delete.json#L8:22
RESPONSE_SCHEMA_NOT_IN_SPEC Response statusCode 200 for operation Connectors_Delete has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L380:22
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Delete.json#L11:16
RESPONSE_SCHEMA_NOT_IN_SPEC Response statusCode 204 for operation Connectors_Delete has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L380:22
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Delete.json#L11:16
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L402:15
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ExistingConnectionTest.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_ExistingConnectionTest, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L402:15
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ExistingConnectionTest.json#L418:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ExistingConnectionTest.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: uniqueId
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L849:38
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ExistingConnectionTest.json
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L465:15
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ProposedConnectionTest.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_ProposedConnectionTest, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L465:15
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ProposedConnectionTest.json#L481:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ProposedConnectionTest.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ProposedConnectionTest.json
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L50:14
ExampleUrl: preview/2024-11-01-preview/examples/Operations_List.json#L4:17
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: api-version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L640:28
ExampleUrl: preview/2024-11-01-preview/examples/Operations_List.json#L5:20
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L86:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_ListByStorageAccount, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L86:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L102:11
INVALID_TYPE Expected type object but found type array
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L669:28
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_ListByStorageAccount.json#L11:15
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L135:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_Get, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L135:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json#L151:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Get.json
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L187:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_CreateOrReplace, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L187:14
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L203:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L9:17
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: location
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L654:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json
RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 201 for operation Connectors_CreateOrReplace were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L235:18
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_CreateOrReplace.json#L28:16
INVALID_REQUEST_PARAMETER api-version 2021-08-01-preview is not equal to swagger version
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L269:16
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json#L4:17
REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND In operation Connectors_Update, parameter storageAccountName is required in the swagger spec but is not present in the provided example parameter values.
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L269:16
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json#L285:11
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: connectorName
Url: storageDataRP/preview/2024-11-01-preview/connectors.json#L-1:-1
ExampleUrl: preview/2024-11-01-preview/examples/Connectors_Update.json