Skip to content

Commit

Permalink
fix readme file (#26409)
Browse files Browse the repository at this point in the history
Co-authored-by: James Duan <jduan@microsoft.com>
  • Loading branch information
2 people authored and jnlycklama committed Nov 8, 2023
1 parent a1bec27 commit 934fbd7
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions specification/chaos/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,60 @@ These are the global settings for the chaos.
title: ChaosManagementClient
description: Chaos Management Client
openapi-type: arm
tag: package-preview-2023-10
tag: package-2023-11
```
### Tag: package-2023-11
These settings apply only when `--tag=package-2023-11` is specified on the command line.

```yaml $(tag) == 'package-2023-11'
input-file:
- Microsoft.Chaos/stable/2023-11-01/capabilities.json
- Microsoft.Chaos/stable/2023-11-01/capabilityTypes.json
- Microsoft.Chaos/stable/2023-11-01/experiments.json
- Microsoft.Chaos/stable/2023-11-01/operationStatuses.json
- Microsoft.Chaos/stable/2023-11-01/operations.json
- Microsoft.Chaos/stable/2023-11-01/targetTypes.json
- Microsoft.Chaos/stable/2023-11-01/targets.json
directive:
- from: swagger-document
where: "$.definitions.action"
transform: >
$["x-ms-client-name"] = "ChaosExperimentAction";
- from: swagger-document
where: "$.definitions.branch"
transform: >
$["x-ms-client-name"] = "ChaosExperimentBranch";
- from: swagger-document
where: "$.definitions.step"
transform: >
$["x-ms-client-name"] = "ChaosExperimentStep";
- from: swagger-document
where: "$.definitions.filter"
transform: >
$["x-ms-client-name"] = "ChaosTargetFilter";
- from: swagger-document
where: "$.definitions.simpleFilter"
transform: >
$["x-ms-client-name"] = "ChaosTargetSimpleFilter";
- from: swagger-document
where: "$.definitions.simpleFilterParameters"
transform: >
$["x-ms-client-name"] = "ChaosTargetSimpleFilterParameters";
- from: swagger-document
where: "$.definitions.selector"
transform: >
$["x-ms-client-name"] = "ChaosTargetSelector";
- from: swagger-document
where: "$.definitions.listSelector"
transform: >
$["x-ms-client-name"] = "ChaosTargetListSelector";
- from: swagger-document
where: "$.definitions.querySelector"
transform: >
$["x-ms-client-name"] = "ChaosTargetQuerySelector";
```

### Tag: package-preview-2023-10

Expand Down Expand Up @@ -83,6 +134,7 @@ directive:
transform: >
$["x-ms-client-name"] = "ChaosTargetQuerySelector";
```

### Tag: package-preview-2023-09

These settings apply only when `--tag=package-preview-2023-09` is specified on the command line.
Expand Down Expand Up @@ -285,4 +337,4 @@ directive:
where: $.definitions.Operation.properties.isDataAction
from: types.json
reason: We are consuming the type model declaration from "common". I don't think our service is responsible for updating this error... Plz push back otherwise.
```
```

0 comments on commit 934fbd7

Please sign in to comment.