Skip to content

Commit

Permalink
add after_script for python (#8852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mangirdas Judeikis authored Mar 31, 2020
1 parent d8c4e5f commit cad8606
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions specification/redhatopenshift/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ This is not used by Autorest itself.
```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-redhatopenshift
- repo: azure-sdk-for-go
```

Expand All @@ -61,7 +63,7 @@ See configuration in [readme.go.md](./readme.go.md)

See configuration in [readme.python.md](./readme.python.md)

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

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

Expand All @@ -77,11 +79,11 @@ input-file:
```

If there are files that should not be in the `all-api-versions` set,
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:
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

0 comments on commit cad8606

Please sign in to comment.