Skip to content

Commit

Permalink
rename python-nextgen to python (#15504)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed May 16, 2023
1 parent dd6ccaa commit 01ed597
Show file tree
Hide file tree
Showing 759 changed files with 70 additions and 9,227 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/samples-python-nextgen-client-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Python Client (Echo API)
on:
push:
paths:
- samples/client/echo_api/python-nextgen/**
- samples/client/echo_api/python/**
pull_request:
paths:
- samples/client/echo_api/python-nextgen/**
- samples/client/echo_api/python/**
jobs:
build:
name: Test Python client
Expand All @@ -16,7 +16,7 @@ jobs:
matrix:
sample:
# clients
- samples/client/echo_api/python-nextgen
- samples/client/echo_api/python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
12 changes: 8 additions & 4 deletions bin/configs/python-aiohttp.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
generatorName: python-aiohttp
outputDir: samples/server/petstore/python-aiohttp
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/python-aiohttp
generatorName: python
outputDir: samples/openapi3/client/petstore/python-aiohttp
inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml
templateDir: modules/openapi-generator/src/main/resources/python
library: asyncio
additionalProperties:
packageName: petstore_api
mapNumberTo: float
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
generatorName: python-nextgen
outputDir: samples/client/echo_api/python-nextgen
generatorName: python
outputDir: samples/client/echo_api/python
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/python-nextgen
templateDir: modules/openapi-generator/src/main/resources/python
additionalProperties:
hideGenerationTimestamp: "true"
8 changes: 0 additions & 8 deletions bin/configs/python-nextgen-aiohttp.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions bin/configs/python-nextgen.yaml → bin/configs/python.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
generatorName: python-nextgen
outputDir: samples/openapi3/client/petstore/python-nextgen
generatorName: python
outputDir: samples/openapi3/client/petstore/python
inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml
templateDir: modules/openapi-generator/src/main/resources/python-nextgen
templateDir: modules/openapi-generator/src/main/resources/python
additionalProperties:
packageName: petstore_api
useOneOfDiscriminatorLookup: "true"
Expand Down
2 changes: 1 addition & 1 deletion docs/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following generators are available:
* [php](generators/php.md)
* [php-dt (beta)](generators/php-dt.md)
* [powershell (beta)](generators/powershell.md)
* [python-nextgen](generators/python-nextgen.md)
* [python](generators/python.md)
* [r](generators/r.md)
* [ruby](generators/ruby.md)
* [rust](generators/rust.md)
Expand Down
230 changes: 0 additions & 230 deletions docs/generators/python-nextgen.md

This file was deleted.

Loading

0 comments on commit 01ed597

Please sign in to comment.