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

Pull in latest upstream code #62

Merged
merged 757 commits into from Mar 31, 2022
Merged

Pull in latest upstream code #62

merged 757 commits into from Mar 31, 2022

Conversation

vvb
Copy link

@vvb vvb commented Mar 31, 2022

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    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.
  • File the PR against the correct branch: master (5.3.0), 6.0.x
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

upachler and others added 30 commits February 14, 2022 10:54
… use reserved words for local variables (OpenAPITools#11583)

* fixes OpenAPITools#11579: Java RestTemplate Mustache template doesn't use reserved words for local variables

* fixes OpenAPITools#11579: Java RestTemplate samples

Co-authored-by: Marek Hudik <marek.hudik@broadcom.com>
…11452)

* refactor nrt annotation

* enable nrt by default in .net6.0+

* use shorter nrt annotation

* build samples

* removed debugging lines
* fix api filename

* fix PythonCodeGen toApiVarName

* add samples change
* Allows passing filename to deserialize

* Code review changes
* remove jdk8 support from spring generators

* update tests, remove commented code in AbstractJavaCodegen

* add back implementation

* add back import

* generate code for non reactive
…s#11361)

The method buildRequestBodyMultipart in ApiClient.java now recognizes if
an input parameter is an instance of List.
* refactor nrt annotation

* enable nrt by default in .net6.0+

* use shorter nrt annotation

* build samples

* removed debugging lines

* fixed model and operatoin constructors

* reverted a commented line for comparison

* created library modelGeneric, removed debugging lines

* build samples

* build all samples

* avoid breaking changes

* publish and build samples

* added line break
…penAPITools#11606)

* Move static logic to initialization method when no RestTemplate is provided.
Otherwise, use the settings from the RestTemplate that was provided.

* Move code outside of withXml
Run required scripts

Co-authored-by: Westerlaken, H.L. (Laurens) <laurens.westerlaken@devolksbank.nl>
* better code format in java tests

* better code format in java client codegen

* better code format in java model tests

* better code format in abstract java codegen

* better code format in codegen parameter, property

* better code format in codegen response

* better code format in codegen model

* better code format in default generator

* better code format in default codegen

* update codegen model
* hide implementation behind undocumented flag (_api_controller_impl_) to temporarily preserve code.

* Generate Samples
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.6.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.6.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](shelljs/shelljs@v0.8.3...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…OpenAPITools#11619)

* add missing import, better code format for kotlin generators

* update kotlin workflow

* more kotlin tests

* better code format

* separate kotlin client, server teets

* comment out tests
* remove spring tests from pom.xml

* test jaxrs in github action

* trigger build

* Revert "trigger build"

This reverts commit a9c444f.
* more java client tests in github actino

* trigger build

* Revert "trigger build"

This reverts commit 023f8cc.

* move java client tests to github action
* add github action file to test java clients

* update tests
* update kotlin vertx dep to newer versions

* update kotlin to newer version
* [Protobuf-Schema] Add enum prefix

* [Protobuf-Schema] Documentation updated

* [Protobuf-Schema] Samples updated
cachescrubber and others added 28 commits March 26, 2022 10:23
* Dependency management: Upgrade Managed Versions

* spring-boot: add optional classifier to spring-boot maven plugin configuration

* Upgrade to spring-boot 2.5.10

* Generate Samples

* Upgrade to Spring Boot 2.5.11 / 2.6.5

* Generate Samples
…ools#11866)

* [C][Client] Free list or map memory when json parsing fails

* [C][Client] Free list or map memory when json parsing fails (part 2)

* Note for unsupported data type
…ties has the same required $ref oneOf objects (OpenAPITools#11973)

* Fixed StringIndexOutOfBoundsException when the object has multiple required fields has $ref to the same oneOf object

* fix bad depth

Co-authored-by: Kanda <kanda@synctera.com>
…Tools#11964)

* add support for additiional properties in okhttp-gson java client

* deserialize with additional properties

* better handling of non-primitive type

* use entry set instead

* support disallowAdditionalPropertiesIfNotPresent

* remove additional properties in serialization
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix JSON object deserialization

* Revert "Fix JSON object deserialization"

This reverts commit 42a4637e53020d8d3e921f72bc66de9d4ccd8151.

* Add JSON body decoding before deserialize call

* Add two more json_decode calls

Co-authored-by: Thomas Hansen <thomas@thomasphansen.dk>
* [typescript-fetch] add stringEnums option

* [typescript-fetch] add docs & samples

* [typescript-fetch] update samples

* [typescript-fetch] support 3.4 or lower version

* [typescript-fetch] update samples
…penAPITools#11995)

* Minor refactor for Micronaut generators

* Add support for security roles in micronaut server generator

* Micronaut Server Generator refactor the x-roles String variable
* use supported images from circleCI

* skip scala-httpclient test

* new way to install r

* skip r test

* test go only
* test php in circleci node 2

* restore image

* install php 8.1.4

* install plugin

* install libonig-dev

* install libzip-dev

* test php in travis

* rehash
* refactor nrt annotation

* enable nrt by default in .net6.0+

* use shorter nrt annotation

* build samples

* removed debugging lines

* fixed model and operatoin constructors

* reverted a commented line for comparison

* upgraded to System.Text.Json

* build samples

* build samples

* deleted samples to remove old files

* bug fixes

* bug fixes

* added cumpulsory property to codegen

* build samples

* fixed bug

* fixed bug

* fixes

* removed bugged code that wasnt needed

* build samples

* restored sorting and default values for required params

* fixed bugs in comparison

* fixed sort comparators

* recreate tests

* build samples...again...

* removed debugging line breaks

* simplified constructor signature

* inject json options

* build samples...again...

* build samples
* Add Mastercard to the company list

* Moved Mastercard to the right position
…0809)

* [req_vars_changes]

* Added new schema to generate samples to test the issue mentioned in the PR.

* Changed the variable name from setRequiredVars to initRequiredVars

* Added initRequiredVars as a generator additional property

* Regenerating the samples after rebasing the code with master branch

* Changed the description of additional property
…ools#12010)

* Fixes issue 11946

* Fixes items assignment for deep object query params

* Adds fix for inline query param object schemas

* Fixes keyword name, changes it from mapBean[keyword]

* Reverts version file
@vvb vvb merged commit dfb40dc into master Mar 31, 2022
@vvb vvb deleted the refresh/upstream branch October 11, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment