Skip to content

Commit

Permalink
Add readme.azureresourceschema.md for sample rp (Azure#10764)
Browse files Browse the repository at this point in the history
  • Loading branch information
leni-msft authored and nitegupt committed Sep 25, 2020
1 parent eeef118 commit e27456c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
24 changes: 24 additions & 0 deletions documentation/samplefiles/readme.azureresourceschema.md
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

```
7 changes: 7 additions & 0 deletions documentation/samplefiles/samplereadme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_YourServiceName']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js yourservicename/resource-manager
```

## Go
Expand All @@ -77,3 +80,7 @@ See configuration in [readme.typescript.md](https://github.com/Azure/azure-rest-
## CSharp

See configuration in [readme.csharp.md](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/readme.chsarp.md)

## AzureResourceSchema

See configuration in [readme.azureresourceschema.md](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/readme.azureresourceschema.md)

0 comments on commit e27456c

Please sign in to comment.