Skip to content

Latest commit

 

History

History
163 lines (119 loc) · 4.9 KB

File metadata and controls

163 lines (119 loc) · 4.9 KB

playwrighttesting

see https://aka.ms/autorest

This is the AutoRest configuration file for playwrighttesting.

Getting Started

To build the SDKs for My API, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest readme.md

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

Basic Information

These are the global settings for the playwrighttesting.

title: PlaywrightTestingClient
description: Azure Playwright testing management service
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-12-01

Tag: package-2024-12-01

These settings apply only when --tag=package-2024-12-01 is specified on the command line.

input-file:
  - Microsoft.AzurePlaywrightService/stable/2024-12-01/playwrighttesting.json
suppressions:
  - code: ResourceNameRestriction
    from: playwrighttesting.json
    reason: We have enums defined for quota resource names which doesn't support string pattern validation.
  - code: ProvisioningStateMustBeReadOnly
    from: playwrighttesting.json
    reason: Seems like a tool bug, as the visibility is set to read only in the TypeSpec already.
  - code: DeleteResponseCodes
    from: playwrighttesting.json
    reason: Seems like a tool bug, as default operations with codes are generated from the TrackedResourceOperations in the TypeSpec.
    where:
      - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}"].delete
modelerfour:
  flatten-models: false

Tag: package-2024-08-01-preview

These settings apply only when --tag=package-2024-08-01-preview is specified on the command line.

input-file:
  - Microsoft.AzurePlaywrightService/preview/2024-08-01-preview/playwrighttesting.json
suppressions:
  - code: ResourceNameRestriction
    from: playwrighttesting.json
    reason: We have enums defined for quota resource names which doesn't support string pattern validation.
  - code: ProvisioningStateMustBeReadOnly
    from: playwrighttesting.json
    reason: Seems like a tool bug, as the visibility is set to read only in the TypeSpec already.
  - code: DeleteResponseCodes
    from: playwrighttesting.json
    reason: Seems like a tool bug, as default operations with codes are generated from the TrackedResourceOperations in the TypeSpec.
    where:
      - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}"].delete
modelerfour:
  flatten-models: false

Tag: package-2024-02-01-preview

These settings apply only when --tag=package-2024-02-01-preview is specified on the command line.

input-file:
  - Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/playwrighttesting.json
suppressions:
  - code: ResourceNameRestriction
    from: playwrighttesting.json
    reason: We have enums defined for quota resource names which doesn't support string pattern validation.
  - code: ProvisioningStateMustBeReadOnly
    from: playwrighttesting.json
    reason: Seems like a tool bug, as the visibility is set to read only in the TypeSpec already.
  - code: DeleteResponseCodes
    from: playwrighttesting.json
    reason: Seems like a tool bug, as default operations with codes are generated from the TrackedResourceOperations in the TypeSpec.
    where:
      - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}"].delete
modelerfour:
  flatten-models: false

Tag: package-2023-10-01-preview

These settings apply only when --tag=package-2023-10-01-preview is specified on the command line.

input-file:
  - Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/playwrighttesting.json

Code Generation

Swagger to SDK

This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.

swagger-to-sdk:
  - repo: azure-sdk-for-python
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-resource-manager-schemas
  - repo: azure-cli-extensions
  - repo: azure-powershell

Az

See configuration in readme.az.md

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md

Java

See configuration in readme.java.md