forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python-fastapi] Fix CLI crash when calling
config-help
& update do…
…cs (OpenAPITools#18816) * Implement test for uniqueness of CliOptions across all generators * Refactor existing test to use @dataProvider and fluent assertion * Remove extraneous cliOption definition for disallowAdditionalPropertiesIfNotPresent This is already defined (matching exactly in all aspects) in DefaultCodegen. Resolves OpenAPITools#18810 * Avoid variable declaration & assignment when only used once * Add additional uniqueness tests for all DefaultCodegen List<> members Test uniqueness for lists of: - supportingFiles - supportedLibraries - supportedVendorExtensions * Disable AllGeneratorsTest.noDuplicateSupportingFiles for the time being Re-enable when OpenAPITools#18831 is fixed * Generate updated python-fastapi docs
- Loading branch information
Showing
3 changed files
with
79 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters