Skip to content

Commit

Permalink
fix read.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olrakovs committed Apr 11, 2020
1 parent 72d6a38 commit a74b548
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions specification/marketplace/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,6 @@ input-file:
- Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
- $(this-folder)/Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```


# Code Generation

## Swagger to SDK
Expand All @@ -86,4 +60,29 @@ csharp:
namespace: Microsoft.Azure.Management.Marketplace
output-folder: $(csharp-sdks-folder)/marketplace/Microsoft.Azure.Management.Marketplace/src/Generated
clear-output-folder: true
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
- $(this-folder)/Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

0 comments on commit a74b548

Please sign in to comment.