Skip to content
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

Move templates in clients #709

Merged
merged 388 commits into from
Mar 23, 2021
Merged

Move templates in clients #709

merged 388 commits into from
Mar 23, 2021

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

jmini and others added 30 commits August 9, 2019 11:01
* add test cases to cover different collection format

* add space params to retrofit 1.x

* add space params to retrofit 2.x

* rename url to localVarUrl

* fix exception in haskell servant
…#3637)

Before Java 9, the `Generated` annotation was part of JEE and in the
`javax.annotation` package. Starting with Java 9, it is now part
of the standard SDK, under the new `javax.annotation.processing`
package.

This change creates a custom Generated annotation template for the
native clientlib, since it is guaranteed to be run in Java 11+.
* [java][model] set collection to null when not required

* Fix tests

* Fix trailing whitespace

* generate samples

* Restore 'de.thetaphi' plugin in pom.xml
…ields (#3474)

* [Java][client] make it possible to send explicit nulls for nullable fields

* Regenerate samples
* [java-client][jersey2][resteasy] add support for OPTIONS method

* Update samples
…ral fixes to make sent requests more accurate (#3703)
…e code #3729 (#3730)

* added getter for schema
* two tiny fixes:

1.) ApiClient already defines and configures an objectMapper to not fail on unknown properties, but it is not used when parsing the response. The fix uses the pre-configured object mapper instead of the vertx default one

2.) When an operation has no response (or just ones without content), the accept array passed to ApiClient is emtpy. This makes the null check in ApiClient useless, as it still tries to set a null Accept header, which is refused with an NPE. Amend the check with .length > 0 to catch this case.

* update generated client as required by contributor guidelines
…ile (#3793)

* Add jackson-databind-nullable

* Update samples
* add gitHost param to GeneratorSettings and related

* parameterize gitHost in READMEs

* parameterize gitHost in go.mod

* parameterize gitHost in git_push

* update petstore samples

* run ./bin/utils/export_docs_generators.sh

* run meta-codehen.sh

* Revert "run meta-codehen.sh"

This reverts commit d6d579f6159186531257cdfdd73b9caf9e9ffeba.

* Revert "run ./bin/utils/export_docs_generators.sh"

This reverts commit 1b81538198d4319fd1b4e97447303e3cc0e8dc99.

* Revert "update petstore samples"

This reverts commit f513add88396707f6991ae2e4920359583ec88f1.

* run ensure-up-to-date
* fixed bug where nullApi.java would be generated.  Instead, generated DefaultApi.java to match the default path /{pathParam}

* fix to bug #3157

* update samples
* fix jackson security issue

* update groovy petstore sample
* fixed Feign template

* regenerated Feign example

* update java feign petstore sample
…(#4023)

* Fix regression in Java XML serialization. Fixes #4014

* Also move JSON_PROPERTY_* declaration
* fix readonly

* update samples
* rename property in codegen discriminator

* better code format
…ncompatibility (Template Update) (#4148)

* Replaced dashes with underscores in build.gradle files.

* Updated mustache template files
* Update to jackson-datatype-threetenbp 2.9.10

* Update to ThreeTen BP 1.4.0

* Fix import and usage of org.threeten.bp.DateTimeUtils

* Refresh samples
* Adding cookie support and cookie-based AuthKeys to Java clients

* Fix indentation

* Revert accidental change

* Updating samples

* Fixing tests and regenerating samples
…JSON (#3923)

* [java][client] Don't include nullable attributes twice in serialized JSON

* Get rid of the extra added whitespace

* Regenerate samples
The old code used to work with older okhttp (< 3), but will throw
NullPointerExceptions with okhttp3.
borsch and others added 21 commits March 15, 2021 21:25
* [Java][Server] fix default value

* [Java][Server] fix default value
DefaultWebClient() already encodes URL query parameters.
* update webclient dependencies

* update build.gradle
…c2da57f4ae9a'

git-subtree-dir: .generator/templates
git-subtree-mainline: 2d33980
git-subtree-split: dea0e05
@api-clients-generation-pipeline api-clients-generation-pipeline bot requested a review from a team as a code owner March 23, 2021 14:03
@api-clients-generation-pipeline api-clients-generation-pipeline bot added the changelog/no-changelog Changes don't appear in changelog label Mar 23, 2021
@github-actions github-actions bot added the documentation Documentation related changes label Mar 23, 2021
@therve
Copy link
Contributor

therve commented Mar 23, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov
Copy link

codecov bot commented Mar 23, 2021

Codecov Report

Merging #709 (7bb35b5) into master (721af4b) will not change coverage.
The diff coverage is n/a.

@therve therve merged commit 4fbc26e into master Mar 23, 2021
@therve therve deleted the datadog-api-spec/generated/889 branch March 23, 2021 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog Changes don't appear in changelog documentation Documentation related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.