This is the AutoRest configuration file for portal.
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.
These are the global settings for the portal.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-04-01-preview
These settings apply only when --tag=package-2024-04-01-preview
is specified on the command line.
input-file:
- Microsoft.PortalServices/copilotSettings/preview/2024-04-01-preview/copilotSettings.json
- Microsoft.PortalServices/extensions/preview/2024-04-01-preview/extensions.json
suppressions:
- code: EvenSegmentedPathForPutOperation
reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @singleton (OpenAPI path ends with /default). This is a false positive. Related issue:https://github.com/Azure/azure-openapi-validator/issues/646
from:
- copilotSettings.json
where:
- $.paths["/providers/Microsoft.PortalServices/copilotSettings/default"]
- code: XmsPageableForListCalls
reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider @singleton (OpenAPI path ends with /default). This is a false positive. Related issue:https://github.com/Azure/azure-openapi-validator/issues/646
from:
- copilotSettings.json
- code: TopLevelResourcesListBySubscription
reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @tenantResource, so subscription list operation is not valid. This is a false positive.
from:
- copilotSettings.json
- code: TenantLevelAPIsNotAllowed
reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @tenantResource, and has received exception sign-off approval by PAS team and ARM team.
from:
- copilotSettings.json
where:
- $.paths["/providers/Microsoft.PortalServices/copilotSettings/default"]
These settings apply only when --tag=package-2023-01-01-preview
is specified on the command line.
input-file:
- Microsoft.PortalServices/extensions/preview/2023-01-01-preview/extensions.json