We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
master
swagger.json
> python3 --version Python 3.8.10 > java --version openjdk 11.0.14 2022-01-18 LTS OpenJDK Runtime Environment Zulu11.54+23-CA (build 11.0.14+9-LTS) OpenJDK 64-Bit Server VM Zulu11.54+23-CA (build 11.0.14+9-LTS, mixed mode)
git clone https://github.com/openapitools/openapi-generator cd openapi-generator mvn clean package java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \ -i api-def/swagger.json \ -g python \ --artifact-id symbility_api \ --package-name symbility_api \ -o api/
see ap/symbility_api/api/claim_api.py
ap/symbility_api/api/claim_api.py
The unknown_base_type, UNKNOWNBASETYPE, unknownbasetype and UNKNOWN_BASE_TYPE donesn't exist.
unknown_base_type
UNKNOWNBASETYPE
unknownbasetype
UNKNOWN_BASE_TYPE
from symbility_api.model.unknownbasetype import UNKNOWNBASETYPE ..... self.claim_set_claim_status_endpoint = _Endpoint( settings={ 'response_type': (ClaimStatus,), 'auth': [ 'OAuth2' ], 'endpoint_path': '/v03_08/claims/{claimID}/claim-status', 'operation_id': 'claim_set_claim_status', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'claim_id', 'from_user_id_specification', 'unknown_base_type', ], 'required': [ 'claim_id', ], 'nullable': [ 'unknown_base_type', ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'claim_id': (str,), 'from_user_id_specification': (str,), 'unknown_base_type': (UNKNOWN_BASE_TYPE,), }, 'attribute_map': { 'claim_id': 'claimID', 'from_user_id_specification': 'From-User-ID-Specification', }, 'location_map': { 'claim_id': 'path', 'from_user_id_specification': 'header', 'unknown_base_type': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [ 'application/json' ] }, api_client=api_client )
after remove the unknowtype, I got:
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. Can you try the branch inline-parameter-enhance in #12369, which provides better support for inline schemas?
inline-parameter-enhance
Sorry, something went wrong.
The fix has been merged into master and included in the v6.0.0 release.
No branches or pull requests
Bug Report Checklist
Description
openapi-generator version
master
OpenAPI declaration file content or url
swagger.json
Generation Details
Steps to reproduce
see
ap/symbility_api/api/claim_api.py
The
unknown_base_type
,UNKNOWNBASETYPE
,unknownbasetype
andUNKNOWN_BASE_TYPE
donesn't exist.after remove the unknowtype, I got:
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: