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

merge upstream #2

Merged
merged 21 commits into from
Jun 8, 2021
Merged

merge upstream #2

merged 21 commits into from
Jun 8, 2021

Commits on Jun 3, 2021

  1. [Erlang] return empty body for 204 (#9512)

    * fix handle_request_json spec res
    
    * fix client spec
    
    * make it possible to answer with 0 size binary for 204
    
    * only generate empty bin for 204
    
    * only generate empty bin for 204
    lixen-wg2 authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    cdc0076 View commit details
    Browse the repository at this point in the history
  2. update erlang-server samples

    wing328 committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    f0bbeb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    439a1a9 View commit details
    Browse the repository at this point in the history
  4. Fix module "go-server" - template "controller-api.mustache" : query.G…

    …et() must use {{baseName}} instead of {{paramName}} on boolean and default query parameters (#9580)
    ricou13770 authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    2b495fc View commit details
    Browse the repository at this point in the history
  5. python-fastapi improvements (#9649)

    * [python-fastapi] Ignore some flake8 warnings
    
    1. Some of the "imported but not used" warnings are there because
    it is not easy to express what should be imported in mustache template
    language. These warnings are silenced in order to keep the templates
    morre readable.
    2. Single quotes -> Double quotes (for consistency).
    
    Signed-off-by: Nikita Vakula <[email protected]>
    
    * [python-fastapi] Added flake8 config
    
    Signed-off-by: Nikita Vakula <[email protected]>
    
    * [python-fastapi] Set extra constraints on values
    
    It is important to set all constraints (pattern, greater than, etc.)
    on values of all arguments, because FastAPI can handle them automatically.
    
    Signed-off-by: Nikita Vakula <[email protected]>
    
    * [python-fastapi] Updated samples
    
    Signed-off-by: Nikita Vakula <[email protected]>
    krjakbrjak authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    93880a4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    972ad56 View commit details
    Browse the repository at this point in the history
  7. fix(#9328): Gradle Plugin ValidateTask does not work under Gradle 7.0 (

    …#9453)
    
    * Allow to run ValidateTask tests against Gradle 7.0 as well
    
    * Drop setters for ValidateTask properties of mutable types
    
    This is applicable to the following properties:
    - inputSpec
    - recommend
    
    Otherwise, Gradle 7.0 now returns an error when attempting
    to configure this task.
    
    See https://docs.gradle.org/7.0/userguide/validation_problems.html#mutable_type_with_setter
    
    * Be more specific about the versions of Gradle tested in ValidateTaskDslTest
    
    Test against the latests Gradle 5.x and 6.x versions
    rm3l authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    a8c4cbd View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. (#8000) Insure toImportMap only returns needToImport (#9275)

    `toModelImportMap` only accounts for union types and not intersection types, so I've combined those cases into `splitComposedType`. For `splitComposedType` I combined `replace(" ","").split("\\|")` and `split("( [|&] )|[<>]")` into `replace(" ","").split("[|&<>]")`.
    
    I've added the `needToImport` check to `toModelImportMap`. This is the same check that happens in `addImport`.
    ralphpig authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    c5fefa9 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Swift5 Vapor 4 client library (#9625)

    * [swift5] Add Vapor client library
    
    * Try to improve overall spacing (#17)
    
    * [swift5] try to remove changes in model and api
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * [swift5] update sample projects
    
    * Update samples
    
    * [swift5] vapor: return clientResponse when no default case
    
    * Update samples
    
    Co-authored-by: Bruno Coelho <[email protected]>
    aymanbagabas and 4brunu authored Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f923a0e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. [dart][dart-dio] Add support for query collection parameter format (#…

    …9635)
    
    * [dart][dart-dio] Add support for query collection parameter format
    
    * add support for collectionFormat in query parameters and www-url-encoded content
    * add tests
    * remove empty query parameter maps from generated code
    * closes #6681
    * closes #9522
    * closes #8271 (the last remaining parts)
    
    * Fix formatting
    kuhnroyal authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    fdbf027 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c268c9 View commit details
    Browse the repository at this point in the history
  3. [python][fastapi] various minor improvements (#9672)

    * fix python fastapi tests, update readme, add CI test
    
    * update FILES
    
    * use virtualenv
    
    * fix pom.xml
    
    * skip flake8
    wing328 authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    088bca1 View commit details
    Browse the repository at this point in the history
  4. Add validators to models fields (#9668)

    * [python-fastapi] Apply constraints to models
    
    Signed-off-by: Nikita Vakula <[email protected]>
    
    * [python-fastapi] Use pydantic types to validate models fields
    
    Some data formats can be validated by annotating fields with some
    special pydantic data types (EmailStr, forr example).
    
    Signed-off-by: Nikita Vakula <[email protected]>
    
    * [python-fastapi] Updated samples
    
    Signed-off-by: Nikita Vakula <[email protected]>
    krjakbrjak authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    599a2ca View commit details
    Browse the repository at this point in the history
  5. Fix kotlin client issue in maven plugin tests (#9690)

    * fix kotlin client issue in maven plugin tests
    
    * set version to v1.5.10
    
    * update doc
    wing328 authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    c2cc7a0 View commit details
    Browse the repository at this point in the history
  6. bump swagger-parser-version to v2.0.26 to close #9086 (#9631)

    * bump swagger-parser-version to v2.0.26
    
    * add tests for #9086
    GabrielCastro authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    9099b43 View commit details
    Browse the repository at this point in the history
  7. [cleanup] erefactor/AutoRefactor - Log parameters rather than log mes…

    …sage (#9665)
    
    AutoRefactor cleanup 'LogParametersRatherThanLogMessage' applied by erefactor:
    
    Replaces a string concatenation as parameter of a logger method by a
    string template followed by objects.
    
    For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor
    For erefactor see https://github.com/cal101/erefactor
    cal101 authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    2d5199f View commit details
    Browse the repository at this point in the history
  8. [cleanup] erefactor/AutoRefactor - Log parameters rather than log mes…

    …sage (#9664)
    
    AutoRefactor cleanup 'LogParametersRatherThanLogMessage' applied by erefactor:
    
    Replaces a string concatenation as parameter of a logger method by a
    string template followed by objects.
    
    For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor
    For erefactor see https://github.com/cal101/erefactor
    cal101 authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    19f5718 View commit details
    Browse the repository at this point in the history
  9. [cleanup] erefactor/AutoRefactor - Log parameters rather than log mes…

    …sage (#9133)
    
    AutoRefactor cleanup 'LogParametersRatherThanLogMessage' applied by erefactor:
    
    Replaces a string concatenation as parameter of a logger method by a
    string template followed by objects.
    
    For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor
    For erefactor see https://github.com/cal101/erefactor
    cal101 authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    3cbc5a8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    64ee3fe View commit details
    Browse the repository at this point in the history
  11. Typescript: fix: add paramPropertyNaming (#9546)

    Model naming conforms to the property: modelPropertyNaming, however the
    parameter naming scheme is currently hardcoded to camelcase. Since the
    parameter names are closely tied to the model properties names, is maybe
    desirable to use a similar naming approach.
    
    The toParamName cannot directly use the paramPropertyNaming since that
    will cause issues with current generated code, since the
    modelPropertyNaming currently defaults to "original"
    
    A new property has been created to override this behavior, named
    "paramPropertyNaming", and its default is set to "camelcase".
    mfmarche authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    7125ef4 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. Configuration menu
    Copy the full SHA
    37b7c80 View commit details
    Browse the repository at this point in the history