Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonchurch/openapi-generator-issues
https://github.com/jonchurch/openapi-generator-issues
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonchurch/openapi-generator-issues
- Owner: jonchurch
- Created: 2023-05-22T04:10:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-22T04:58:53.000Z (over 1 year ago)
- Last Synced: 2024-10-06T14:41:59.665Z (3 months ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Issue
> Issue filed here https://github.com/OpenAPITools/openapi-generator/issues/15598The `typescript-axios` generator is not respecting the `useSingleRequestParameter` additional-properties option, specified [here](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/typescript-axios.md).
This repo uses `@openapitools/openapi-generator-cli@^2.6.0` with `[email protected]` and the example PetStore schema provided by the openapi-generator repository.
The generator is generating with `useSingleRequestParameter` as true, no matter the setting.
# Reproduce
The code in the repo at HEAD is based on the configuration that is also checked in.
To reproduce the behavior:
* Install the deps with `npm install`
* Edit the `openapitools.json` file
* Set `useSingleRequestParameter: false`
* Run the generator script `npm run generate` which runs the generator cli with only the generate option
* Observe that there is no diff, the generated source did not change## Notes
The PR that added the option to the generator is [here](https://github.com/OpenAPITools/openapi-generator/pull/6288)