forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add readme.azureresourceschema.md for sample rp (Azure#10764)
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## AzureResourceSchema | ||
|
||
These settings apply only when `--azureresourceschema` is specified on the command line. | ||
|
||
### AzureResourceSchema multi-api | ||
|
||
``` yaml $(azureresourceschema) && $(multiapi) | ||
batch: | ||
- tag: schema-yourservicename-YYYY-MM-DD | ||
|
||
``` | ||
|
||
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`. | ||
|
||
### Tag: schema-yourservicename-YYYY-MM-DD and azureresourceschema | ||
|
||
``` yaml $(tag) == 'schema-yourservicename-YYYY-MM-DD' && $(azureresourceschema) | ||
output-folder: $(azureresourceschema-folder)/schemas | ||
|
||
# all the input files in this apiVersion | ||
input-file: | ||
- Microsoft.YourServiceName/stable/YYYY-MM-DD/YourServiceName.json | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters