Skip to content

Commit

Permalink
mitigate configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
live1206 committed Oct 10, 2023
1 parent aaf4328 commit 0949dfb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@ override-operation-name:
Diagnostics_CheckNameAvailability: CheckSelfHelpNameAvailability
DiscoverySolution_List: GetSelfHelpDiscoverySolutions

directive:
directive:
- from: help.json
where: $.definitions
where: $.definitions.MetricsBasedChart
transform: >
$.SolutionResource.properties.properties.solutionResourceProperties.properties.replacementMaps.properties.metricsBasedChart.properties.timeSpanDuration['format'] = 'duration';
$.properties.timeSpanDuration['format'] = 'duration';
- from: help.json
where: $.definitions.Step.properties.type
transform: >
$["x-ms-client-name"] = 'StepType';
```

0 comments on commit 0949dfb

Please sign in to comment.