Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More tweaks
  • Loading branch information
anthony-c-martin committed Apr 26, 2025
commit bf0147a67ded6483b5161f35d2a1b8b04abe353b
422 changes: 378 additions & 44 deletions dev/deployments/convert/markdown.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,33 +52,30 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_deployments']
- repo: azure-resource-manager-schemas
- repo: azure-powershell
```

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

## Go

See configuration in [readme.go.md](./readme.go.md)

## Python
## Java

See configuration in [readme.python.md](./readme.python.md)
See configuration in [readme.java.md](./readme.java.md)

## Ruby
## Python

See configuration in [readme.ruby.md](./readme.ruby.md)
See configuration in [readme.python.md](./readme.python.md)

## TypeScript

See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,66 @@ input-file:
- stable/2023-08-01/deploymentScripts.json
```

## Suppression

``` yaml
directive:
- from: deploymentScripts.json
suppress: TrackedResourceGetOperation
where: $.definitions.AzureCliScript
reason: Tooling issue.
- from: deploymentScripts.json
suppress: TrackedResourcePatchOperation
where: $.definitions.AzureCliScript
reason: Tooling issue.
- from: deploymentScripts.json
suppress: TrackedResourceGetOperation
where: $.definitions.AzurePowerShellScript
reason: Tooling issue
- from: deploymentScripts.json
suppress: TrackedResourcePatchOperation
where: $.definitions.AzurePowerShellScript
reason: Tooling issue
- suppress: OperationsAPIImplementation
from: deploymentScripts.json
where: $.paths
reason: OperationsAPI will come from Resources
- suppress: IntegerTypeMustHaveFormat
from: deploymentScripts.json
reason: Tooling issue, default is int32, explicitly mentioning the format as per doc, it still flags breaking change.
- suppress: ResourceNameRestriction
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PropertiesTypeObjectNoDefinition
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: SubscriptionsAndResourceGroupCasing
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ParametersInPointGet
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: GetCollectionOnlyHasValueAndNextLink
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PatchIdentityProperty
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LroErrorContent
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ProvisioningStateSpecifiedForLROPut
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- from: deploymentScripts.json
suppress: R3006
where:
- $.definitions.DeploymentScript.properties
- $.definitions.AzureCliScript.properties
- $.definitions.AzurePowerShellScript.properties
reason: Currently systemData is not allowed
```

# Code Generation

## Swagger to SDK
Expand All @@ -70,33 +130,30 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_deployments']
- repo: azure-resource-manager-schemas
- repo: azure-powershell
```

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

## Go

See configuration in [readme.go.md](./readme.go.md)

## Python
## Java

See configuration in [readme.python.md](./readme.python.md)
See configuration in [readme.java.md](./readme.java.md)

## Ruby
## Python

See configuration in [readme.ruby.md](./readme.ruby.md)
See configuration in [readme.python.md](./readme.python.md)

## TypeScript

See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,50 @@ input-file:
- stable/2024-03-01/deploymentStacks.json
```

## Suppression

``` yaml
directive:
- from: deploymentStacks.json
suppress: OperationsAPIImplementation
where: $.paths
reason: OperationsAPI will come from Resources
- from: deploymentStacks.json
suppress: TrackedResourcePatchOperation
where: $.definitions
reason: Not a tracked resource.
- suppress: PathForTrackedResourceTypes
from: deploymentStacks.json
reason: "A deployment stack resource is a proxy location-mapped resource type."
- suppress: TenantLevelAPIsNotAllowed
from: deploymentStacks.json
reason: "Working with deployment stacks at the management group scope is supported."
- suppress: TrackedResourcePatchOperation
from: deploymentStacks.json
reason: "A deployment stack resource is a proxy location-mapped resource type."
- suppress: AvoidAdditionalProperties
from: deploymentStacks.json
reason: "Deployment properties such as 'parameters', 'outputs', and 'template' are dynamic types. For example, properties of the parameters object are defined by the template content."
- suppress: PostResponseCodes
from: deploymentStacks.json
reason: "Validate endpoints have 200, 202, 400, and default responses. The 400 response inherits the error response."
- suppress: LroErrorContent
from: deploymentStacks.json
reason: Error response is inherited via allOf on flagged response.
- suppress: NoErrorCodeResponses
from: deploymentStacks.json
reason: A 400 response from the validate endpoint indicates a validation failure and should not throw an exception.
- suppress: MissingXmsErrorResponse
from: deploymentStacks.json
reason: A 400 response from the validate endpoint indicates a validation failure and should not throw an exception.
- suppress: DeleteResponseCodes
from: deploymentStacks.json
reason: Deployment stacks supports synchronous delete with 200 response.
- suppress: OperationsAPIImplementation
from: deploymentStacks.json
reason: This comes from resources.json
```

# Code Generation

## Swagger to SDK
Expand All @@ -61,33 +105,30 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_deployments']
- repo: azure-resource-manager-schemas
- repo: azure-powershell
```

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

## Go

See configuration in [readme.go.md](./readme.go.md)

## Python
## Java

See configuration in [readme.python.md](./readme.python.md)
See configuration in [readme.java.md](./readme.java.md)

## Ruby
## Python

See configuration in [readme.ruby.md](./readme.ruby.md)
See configuration in [readme.python.md](./readme.python.md)

## TypeScript

See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

This file was deleted.

Loading
Loading