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

Fixes for feature/new-uplink-generator branch #3

Draft
wants to merge 2,570 commits into
base: feature/new-uplink-generator
Choose a base branch
from

Conversation

ff137
Copy link
Collaborator

@ff137 ff137 commented May 24, 2023

Upgraded with latest upstream changes. Additionally, fix:

  • add type hints for returned Dict's, i.e. -> Dict[str, Any] instead of -> Dict
  • required fields are currently initialised to None in the init methods, which implicitly makes the field optional. This is wrong, so updating the templates to fix this.

wing328 and others added 30 commits April 6, 2023 11:51
…ools#15130)

* add bytearray, none type as primitive type

* update samples

* update doc
* [cpp-qt-client] Fix warning about deprecated count() method

* [cpp-qt-client] Ignore build directory

* [cpp-qt-client] Use ctest

* Fix CMakeLists.txt for cpp-qt-client
…ientCodegen (OpenAPITools#15096)

* Make TypeScriptClientCodegen extend AbstractTypeScriptClientCodegen

* Regenerate samples

* Update docs

* Clean up

* Remove updated toEnumName

* Fix: SUPPORTS_ES6

* Fix: `setSupportsES6` should not be set directly in unit tests

* Set modelPropertyNaming to camelCase
Downgrade tox and flake8. Alternateively, we can increase minimum python version to 3.8.1
…s#15160)

* explicit interface implementation

* minor spacing change
* Adding Flipkart as a openapi generator user

* chore: added flipkart company logo static asset

* fix: fixed typo in users
Clarify which OpenAPI Generator version exactly introduced [Set skipFormModel to true by default](OpenAPITools#8125).
Added useSwashBuckle condition to Swashbuckle attributes in models
* Check if Kind is Struct

* Commit regenerated files

* Tabs indentation instead of 4-space

* Commit regenerated files
…ITools#15079)

* Add ability to handle parameters of number type

* Generate samples

* Add handling for number without format

* Regenerate samples

* Fix indentation
…ITools#15083)

* Fix: reservedWordsMappings not checked for reserved word

* Fix coding issue
…penAPITools#15084)

* Change Routes to map[string]Route

* Fix linting issues

* Regenerate samples
* add test for aspnetcore 6.0 useSwashBuckle option

* update samples

* update petstore with more tests

* add options

* update samples

* remove unused files
…5189)

Align the lower limits between pyproject.toml and setup.py.

Set a common upper limit of <2, because version 2 brings breaking
changes.
* Update dependecies and go version

* Use generics for recurse

* Fix helpers.mustache

* Regenerate samples
* improve go sample workflow gh

* update

* trigger build

* Revert "trigger build"

This reverts commit 129bc30.

* comment out go chi server tests
devhl-labs and others added 19 commits May 22, 2023 12:53
…do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) (OpenAPITools#15220)

* remove http signature from test yaml when not supported

* do not use HttpBearerAuth for signature auth or other unsupported http auth method

ignore unsupported http auth method unless generated code would not compile (in which case, an exception is thrown)

* [Java] fix use of isBasic condition

* [kotlin] fix use of isBasic condition
* better enforcer with gradle mgmt plugin

* update gradle-enterprise

* fix id
* removed .netcore 3.1

* dont use .net standard for test package
* Added library 'jvm-spring-webclient' to Kotlin client generator

* Reran all generators and generated docs

* Changed target of kotlin-jvm-spring-webclient sample from 2_0 to 3_0

* Added build of kotlin-jvm-spring-webclient to github workflow
…penAPITools#15608)

* better code foramt, add library creator

* remove kotlin server deprecated generator
* support generation of enums for groovy

* add custom json generator for groovy

* add nestet enums in groovy templates

* add indent for nested Groovy enums & fix compilation errors in Groovy ApiUtils

* save auto generated samples&docs for groovy
)

* add test for nullable property with pattern

* update samples
* [rust-client]: fix for collection format multi

* update rust samples

---------

Co-authored-by: Gorka Kobeaga <[email protected]>
Update master branch with upstream
@ff137 ff137 added the enhancement New feature or request label May 24, 2023
@ff137 ff137 self-assigned this May 24, 2023
@ff137 ff137 changed the title Update feature/new uplink generator branch to include latest upstream Update feature/new-uplink-generator branch to include latest upstream May 24, 2023
@ff137 ff137 changed the base branch from feature/new-uplink-generator to master May 24, 2023 13:08
@ff137 ff137 changed the base branch from master to feature/new-uplink-generator May 24, 2023 13:43
@ff137 ff137 changed the title Update feature/new-uplink-generator branch to include latest upstream Fixes for feature/new-uplink-generator branch May 24, 2023
@ff137 ff137 marked this pull request as draft May 24, 2023 15:56
@ff137
Copy link
Collaborator Author

ff137 commented May 24, 2023

Was a bit optimistic with this one. A lot of work required to get generation syncing up with previous behavior. Leaving as to-do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.