forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
update using cisco m31 #2
Merged
Merged
Conversation
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
…ed (OpenAPITools#12068) * scala-akka-http-server model default value when field is not required * scala-akka-http-server sample generate * delete bin/configs/other/scala-akka-http-server.yaml
…penAPITools#12261) * Fix issue with python-fastapi generator converting all fields to snake_case * Update Python-FastAPI sample Co-authored-by: Rory Dungan <contact@rorydungan.com>
* better handling of requestbody in the inline resolver * remove commented code * better request body naming * fix unique naming * minor code format change * removed additional underscore from names, fix test * more fixes, update tests * fix all tests * undo changes to default codegen * update samples * update python tests * add new files * update samples
* update surefire to newer version * small tweak to add support for "leeway" when verifying oauth tokens. Co-authored-by: William Cheng <wing328hk@gmail.com> Co-authored-by: Bruno Flamand <bflamand@stingray.com>
* fix inline allof in request body * update samples
…ixes (OpenAPITools#12353) * better handling of inline response schemas, bug fixes * update samples * add new files * better code format * remove unused ruby files * fix java test * remove unused js spec files * remove inline_response_default_test.dart * fix webclient tests * fix spring tests
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
* Bump minimal PHP version to 7.4 * Refresh samples
…penAPITools#11967) * [cpp-qt-client] Fix CMakeLists.txt Changed: Always add Qt5::Gui to build Added: find_package for OpenSSL (if not Apple) * Updated samples
* Fixxed issue with numeric primitive in body * Aded primitives to cpp-qt/petstore.yaml (test ressource) * generated samples via ./bin/generate-samples.sh
…=true) (OpenAPITools#12318) * [typescript-fetch] Support Sets in query parameters * [typescript-fetch] Update sample builds
* add import in the namespace file * add import r6
* fix warnings in description * fix maintainer * update test with jsonlite method instead
* fix typo in openapi-generator-maven-plugin readme * fix copy&paste error in spring example pom.xml spring generator is used for java server side code generation, not for client code generation * fixed copy&paste errors in kotlin example pom.xml kotlin generator is not used to generate java client code, but kotlin client code.
* Resolve language vs. generator ambiguities Since now "generatorName" is used instead of "language" to specifying what will be generated, some parts of the description were corrected, which were still using "language" instead of "generator". * Update README.md
…ppy warnings (OpenAPITools#12479) * feat(rust): support various Rust integer types (#2) * fix: Use ROOT locale * fix: unsigned int bounds were incorrect * fix: deal with potential null value
… additional schema validations (OpenAPITools#12758) * Converts all schema instances back into primitives in cast_to_allowed_types, fixes test test_deserialize_oneof_reference * Updates type hint * Adds validated_path_to_schemas input * Adds debugging, storess validated schemas in validated_path_to_schemas * Adds __process_schema_classes * Simplifies class creation for enums, True/False/None * Removes unused methods * Fixes two tests * Removes unneeded method _enum_by_value * Adds and uses validation_ran_earlier * Skips running validation if already ran, base_classes changed to seen_classes * Adds and uses validation_ran_earlier * Simplifies __get_simple_class * Casts None/True/False into NoneClass and BoolClass instances to make tpye checking and unique items checking simpler * Always cast file input to FileIO, removes __get_simple_class * Moves type checking to separate class * Moves validation checking into a _validate method * Moves enum value checking into SchemaEnumMaker's _validate method * Fixes test_dict_validate_direct_instantiation_cast_item * Removes spy_decorator * Fixed test_dict_validate_direct_instantiation * Fixes test_list_validate_direct_instantiation_cast_item * Fixes test_list_validate_direct_instantiation * Fixes test_list_validate_from_openai_data_instantiation * Fixes test_dict_validate_from_openapi_data_instantiation * Fixes test_upload_files * Samples regenerated * Reverts version file
* skip import of allOf composition schema * update samples * allow python generator to keep old behaviour * update js import
* fix set, map import * update samples * update tests
* Adds test folder file removal in python-exp only * Samples regnerated * Removes unused code, tweaks unit test sample to test PR change * Reverts spec change * FIxes javadoc
* add streaming option to r client * support callback function to process data stream * add stream test, minor bug fixes * fix api client * return void earlier if streaming, add tests
…ols#12794) * [PHP] Add support to nullable (based on PR 3493) * [AUTOGENERATED] update samples
…ools#12801) This is a fairly common alternative to `!=`, e.g. in SQL or in DevExtreme filters. Previously, if one of an enum's variant was just '<>', its entire name would be sanitized away, resulting in an empty string as symbol name and therefore a syntax error.
Co-authored-by: hansnuttin <hans.nuttin@aca-it.be>
This PR will fix issue: OpenAPITools#12835 Signed-off-by: the-akhil-nair <sam1232007@gmail.com>
* add tests for custom mime types * better message for custom mime type example handling * minor code format change
Commit 1735ab9 added changes to set the `jakarta_annotation_version`. I've recently noticed that when using retrofit2 library, the project builds fine with Maven but fails with Gradle. The build fails due to `Could not get unknown property 'jakarta_annotation_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler`. Digging into this, in the generated `build.gradle` the `jakarta_annotation_version` is never set. Upon closer inspection, aforementioned commit seems to indeed set it differently for the Maven build configuration than the Gradle build configuration (same for SBT configuration) for that matter. The issue is that due to human error the `jakarta_annotation_version` line is added within the `{{#usePlayWS}}` block, meaning it won't be generated when `usePlayWS` is false, even though it should. This commit changes this to always generate it.
Pull latest upstream code
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(5.3.0),6.0.x