Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename python-nextgen to python #15504

Merged
merged 2 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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