Skip to content

Merge for PR #9868 #1

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

Merged
merged 76 commits into from
Aug 25, 2021
Merged

Merge for PR #9868 #1

merged 76 commits into from
Aug 25, 2021

Conversation

mppperez
Copy link
Owner

wing328 and others added 30 commits July 10, 2021 00:12
…ode to set default values of model schema (#10136)

* BUG FIX: A missing semicolon in cpp-pistache-server generated code.

* BUG FIX: Provide default values of schema in cpp-pistache-server generated code.

* BUG FIX: Provide default values of schema in cpp-pistache-server generated code.
#10081)

* Bug #5813 :

As "deserialize_date" and "deserialize_datetime" are used outside of "deserialize_model", we should check 'None' value before parsing string.

* Bugfix 5813 :

Update samples and docs
#10147)

* respect the nullable flag for all parameters (except path params where this is not allowed)
* generate default values for header and query parameters that are not collections
* we can not handle default values for collection with built_value atm. (not const)
* we can not handle default values for form/body parameters atm. as those can be enums which we can not construct easily
…#9840)

The skipIfSpecIsUnchanged did not work when the input spec came from a
classpath resource, which could lead to infinite build loops when the
plugin was used in eclipse

#5805
* - new PHP client generator php-dt

* - samples regen after rebase

* - README update

* - fix missing options for php-dt-modern config

* - use another workaround to prevent special treatment of form media types in DefaultGenerator - GlobalSettings usage mangled behaviour of other generators
- fix of missing spaces in generated docs

* - samples update after rebase
* Create initial version of openapi micronaut generator

* Update validation, authorization, query parameters and time format

* Move micronaut to its own generator

* Add micronaut documentation

* Refactor and add tests to JavaMicronautClientGenerator

* Refactor model mustache for micronaut client

* Refactor model enum and pojo mustache files for micronaut client

* Move micronaut client generation to micronaut 3.0.0-M5 version

* Generate samples for micronaut client

* Add hidden files of generated samples for micronaut client

* Add and configure micronaut tests as maven profile

* Add option to choose between junit and spock for micronaut client generator

* Add tests for micronaut 'build' and 'test' options; regenerate micronaut samples
* mark java micronaut generator as beta

* update doc
)

* adds memoization to speed up csharp code generation

* takes care of review comments

* memoize adds to toModel for Go generator as well

Co-authored-by: Aanisha Mishra <[email protected]>
* prepare for 5.2.1 release

* update samples
…8269)

* refactor: improve additionalModelTypeAnnotations generation

Split by ';' and/or newline
Trim value

fix: #7032

Run ./bin/generate-samples.sh to regenerate model files

Revert "Run ./bin/generate-samples.sh to regenerate model files"

This reverts commit da509c39f363da046fbd457e1ab67ef0f62f3561.

refector: remove unnecessary import

test: multiples tests for AdditionalModelTypeAnnotations

Add a getter to test the list

refactor: remove duplicate AdditionalModelTypeAnnotations

Without using Set to avoid any side effect somewhere, I use stream and
distinct to avoid duplicates

refactor: using Set instead of stream

Remove stream distinct for performance reason, use newHashSet
Keep AdditionalModelTypeAnnotations as List

doc: update info additionalModelTypeAnnotations

refactor: move doc in code for autogen

style: tab in java class

doc: run ensure-up-to-date

refactor: add imports lost in rebase

docs: regenerate docs

docs: update

* fix: docs
* Add map property in request params

* Regenerate samples to include map in url property
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991b f8ff8c8
Author: William Cheng <[email protected]>
Date:   Tue Aug 17 18:28:12 2021 +0800

    Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting

commit f8ff8c8
Author: Nathan Baulch <[email protected]>
Date:   Thu Aug 5 14:12:47 2021 +1000

    Reorder tags that handle missing values

commit f5d8a33
Author: Nathan Baulch <[email protected]>
Date:   Thu Aug 5 14:08:59 2021 +1000

    Use dot notation where possible

commit 493d149
Author: Nathan Baulch <[email protected]>
Date:   Thu Aug 5 14:10:49 2021 +1000

    Remove empty tags

commit 32480dc
Author: Nathan Baulch <[email protected]>
Date:   Thu Aug 5 10:41:58 2021 +1000

    Remove redundant sections

commit a8edabd
Author: Nathan Baulch <[email protected]>
Date:   Wed Aug 4 22:02:22 2021 +1000

    Trim extra EOF new lines

commit e89bd74
Author: Nathan Baulch <[email protected]>
Date:   Wed Aug 4 21:59:26 2021 +1000

    Trim trailing whitespace
* Add missing imports for Set in microprofile client

In case of array properties declared with uniqueItems: true, the
generated Java code uses Sets but imports are not present for them in
the Api and Test classes.

* Add missing imports for Set in java native clients

In case of array properties declared with uniqueItems: true, the
generated Java code uses Sets but imports are not present for them in
the Api and Test classes.
* Fix python generated markdown documentation

* Generated `build the project` and upate sample scripts
yotsuya and others added 29 commits August 21, 2021 23:57
* Add a new server generator for Haskell/Yesod

* Fix missing locale
…10207)

* handle the exception to get meaningful message.

* minor code format enhancement, update samples

Co-authored-by: William Cheng <[email protected]>
* Add apache java client option

* Add sample apache client config

* Switch serialization library, use time formatter

* Add pom template for apache dependencies

* Add initial implementation of ApiClient using apache

* Add apache api template

Plus switch to TypeReference to handle generic types

* Add support for sending json data

* Generate test stubs with @ignore

* Add accept header

* Remove unnecessary builder assignments

* Set responseHeaders instance variable

* Switch to general serialize / deserialize functions

* Handle sending url encoded form data

* Split response processing into new method

* Allow requests without body

* Use general HttpResponse interface

If the method doesn't need to close it

* Use clients connection timeout

* Add constructor accepting custom client

* Handle multipart and direct file uploads

* Support file downloading

Based on the implementation in the jersey client

* Handle missing content disposition

* Raise error if body given for an unexpected method

* Use try with resources for response handling

* Remove unused url parameter encode method

* Handle content type parse exception

* Improve response content type handling

Would have had issues with content type headers containing a charset

* Make all set methods return client

* Add basic readme

* Send content type with files

* Set domain and path on cookies

Otherwise they will be excluded from the request

* Use consistent quoting in error messages

* Add generated apache sample

* Add generated docs changes

* update samples

* rename library, update samples, docs

* update readme

Co-authored-by: Harry White <[email protected]>
* better code format, mark haskell-yesod as beta

* fix copyright

* update doc
Only depend on jaxb when whichXml is true.
This makes things much easier with java11
…03 (#10021)

* Renew the access token after receiving a 401/403

Feign clients tries to renew the access token after it receives a 401 or 403. It Retries the request 1 time

* Add unit test for exhausted retries

* Update samples
Quarkus, as one potential target for using the Java microprofile client
generator, requires a Jandex index to be present in library jars for
discovering beans inside these jars. Therefore, include Jandex index
generation in the pom.xml for microprofile clients as explained here:
https://quarkus.io/guides/cdi-reference#how-to-generate-a-jandex-index

Generating and shipping the index is only a small overhead that is
probably not worth an additional client option.
* add @turkeylurkey as microprofile template creator

* update package-lock.json

* rearrange order, update samples
… level of Swagger/OpenAPI specification, plus minor fixes (#9750)

* K6 Generator - Support for extracting parameter examples & minor fixes

* K6 Generator - Support for extracting parameter examples & minor fixes

PR checklist: update samples

* K6 Generator - Support for extracting parameter examples & minor fixes

Fixed indentation
* Rename test folder to tests

* Put index.php and .htaccess into public

* Refresh samples
* ensure enum cannot be a nullable string

* build samples

* removed errounous changes meant for another pr

* build samples

* build samples

* reordered test parameters for readability

* build samples

* deleted eroneous sample files
…10197)

* adding a test for issues 10083

* commiting the generated files

* fix for the setattr issue

* commit generated files

Co-authored-by: Aanisha Mishra <[email protected]>
* add oneOfProps, allOfProps, anyOfProps to codegen model

* remove commented code
* Fix unchecked conversion

Update restttemplate and webclient templates to use <>-operator.
Also update samples.

* Update samples
* Remove SpringFox @ApiIgnore imports and reference class directly

* Update generated sources

Co-authored-by: Vladislav Fefelov <[email protected]>
…#10252)

This commit tries to improve the documentation on the relationship
between the two configuration options library and serializationLibrary.
…ctors (#10196)

* skipReadonlyPropertiesInInt flag to go SDK

* minor amendments

* update docs for go
@mppperez mppperez merged commit 8ed1e68 into mppperez:master Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.