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

Release/v6.6.0 amadeus #87

Open
wants to merge 42 commits into
base: develop
Choose a base branch
from
Open

Conversation

fabrice-rubino
Copy link
Collaborator

sync with v6.6.0

jlegrosreusser and others added 30 commits March 14, 2023 17:08
Merged updates from the openapi github
Merge openapi latest release
Use primitive well known wrapper types
Add improvements to discriminator from the offer fork
* update samples

* handling of custom options for protobuf

* handling of x-package-name extension

* update samples

* use specific types for date, date-time, duration, time formats

* update samples

* update doc

* Change type google.protobuff.timestamp to google.type.datetime

---------

Co-authored-by: Loris Leong <loris.leong@amadeus.com>
Co-authored-by: frubino <fabrice.rubino@amadeus.com>
* handle x-protobuf-field-number extension

* generate field names in snake_case with option fieldNamesInSnakeCase

* fix tests, missing globalProperties

* handle x-protobuf-name

* check duplicate names

* fix update of enum values after adding prefix

* enum values in UPPER_CASE

* remove "Enum" suffix from enum name

* handle x-protobuf-field-name extension

* handle x-enum-protobuf-indexes extension

* handle x-enum-descriptions for protobuf-schema generator

* update samples

* update doc

* check duplicate enum names

* handle x-protobuf-field-name extension

* fix duplicate unknown enum values when using allOf

* use google.protobuf.Any for the 'any type'

* update docs

* update doc back

* use google.protobuf.Any for the 'any type'

* update docs

* update doc back

* handle x-ama-enum-extension

* add new generator for proto2

* fix import

* make public import optional

* remove logger

* update proto2 mustache templates for enum style and x-protobuf-name

* handling of custom options for protobuf

* update samples

* update doc

* update samples

* handling of custom options for protobuf

* handling of x-package-name extension

* update samples

* update doc

* fix handling of ama-enum extension

* Pull from open api and merge develop (#57)

Merged updates from the openapi github

* Revert "Pull from open api and merge develop (#57)"

This reverts commit a1465ee.

* Merge openapi latest release (#60)

Merge openapi latest release

* Use primitive well known wrapper types (#30)

Use primitive well known wrapper types

* Add offer fork improvements (#38)

Add improvements to discriminator from the offer fork

* use specific types for date, date-time, duration, time in protobuf (#49)

* update samples

* handling of custom options for protobuf

* handling of x-package-name extension

* update samples

* use specific types for date, date-time, duration, time formats

* update samples

* update doc

* Change type google.protobuff.timestamp to google.type.datetime

---------

Co-authored-by: Loris Leong <loris.leong@amadeus.com>
Co-authored-by: frubino <fabrice.rubino@amadeus.com>

* fix on OAS type "DateTime" linked to protobuf type "google.type.DateTime"

---------

Co-authored-by: Loris Leong <loris.leong@amadeus.com>
Co-authored-by: cpricchiuto <cpricchiuto@gmail.com>
Co-authored-by: jlegrosreusser <126689629+jlegrosreusser@users.noreply.github.com>
Co-authored-by: jlegrosreusser <julien.legros-reusser@amadeus.com>
Co-authored-by: Loris Leong <38784823+lleongl@users.noreply.github.com>
add pom modification to define amadeus publishing repository
(done in Build job)
add pom modification to define amadeus publishing repository
(done in Build job)
add pom modification to define amadeus publishing repository
(done in Build job)
add pom modification to define amadeus publishing repository
(done in Build job)
# Conflicts:
#	README.md
#	modules/openapi-generator-cli/pom.xml
#	modules/openapi-generator-core/pom.xml
#	modules/openapi-generator-gradle-plugin/pom.xml
#	modules/openapi-generator-maven-plugin/examples/java-client.xml
#	modules/openapi-generator-maven-plugin/examples/kotlin.xml
#	modules/openapi-generator-maven-plugin/examples/multi-module/java-client/pom.xml
#	modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml
#	modules/openapi-generator-maven-plugin/examples/non-java.xml
#	modules/openapi-generator-maven-plugin/examples/spring.xml
#	modules/openapi-generator-maven-plugin/pom.xml
#	modules/openapi-generator-online/pom.xml
#	modules/openapi-generator/pom.xml
#	pom.xml
* handle x-protobuf-field-number extension

* generate field names in snake_case with option fieldNamesInSnakeCase

* fix tests, missing globalProperties

* handle x-protobuf-name

* check duplicate names

* fix update of enum values after adding prefix

* enum values in UPPER_CASE

* remove "Enum" suffix from enum name

* handle x-protobuf-field-name extension

* handle x-enum-protobuf-indexes extension

* handle x-enum-descriptions for protobuf-schema generator

* update samples

* update doc

* check duplicate enum names

* handle x-protobuf-field-name extension

* fix duplicate unknown enum values when using allOf

* use google.protobuf.Any for the 'any type'

* update docs

* update doc back

* use google.protobuf.Any for the 'any type'

* update docs

* update doc back

* handle x-ama-enum-extension

* add new generator for proto2

* fix import

* make public import optional

* remove logger

* update proto2 mustache templates for enum style and x-protobuf-name

* handling of custom options for protobuf

* update samples

* update doc

* update samples

* handling of custom options for protobuf

* handling of x-package-name extension

* update samples

* update doc

* fix handling of ama-enum extension

* Pull from open api and merge develop (#57)

Merged updates from the openapi github

* Revert "Pull from open api and merge develop (#57)"

This reverts commit a1465ee.

* Merge openapi latest release (#60)

Merge openapi latest release

* Use primitive well known wrapper types (#30)

Use primitive well known wrapper types

* Add offer fork improvements (#38)

Add improvements to discriminator from the offer fork

* use specific types for date, date-time, duration, time in protobuf (#49)

* update samples

* handling of custom options for protobuf

* handling of x-package-name extension

* update samples

* use specific types for date, date-time, duration, time formats

* update samples

* update doc

* Change type google.protobuff.timestamp to google.type.datetime

---------

Co-authored-by: Loris Leong <loris.leong@amadeus.com>
Co-authored-by: frubino <fabrice.rubino@amadeus.com>

* fix on OAS type "DateTime" linked to protobuf type "google.type.DateTime"

* updated version to 6.4.0-amadeus (#71)

* Snapshot test (#72)

* Modified version and jar generation directives

---------

Co-authored-by: Loris Leong <loris.leong@amadeus.com>
Co-authored-by: cpricchiuto <cpricchiuto@gmail.com>
Co-authored-by: Loris Leong <38784823+lleongl@users.noreply.github.com>
Co-authored-by: frubino <fabrice.rubino@amadeus.com>
* added new test for wrappers and refactored test file

* further refactoring of test files

* addressing PR Feedback
fabrice-rubino and others added 12 commits May 5, 2023 16:02
…icting_schemas

add check of conflicting properties in case of diverging duplication
* added new test for wrappers and refactored test file

* further refactoring of test files

* addressing PR Feedback

* initial TU commit

* Updated TU for ODI-38

* ODI-41 : Created a correction feature and tests

* ODI-41 : Updated REGEX and exception handling

* ODI-41 : Updated gitignore

* ODI-41 : Updated gitignore

* ODI-41 : Added a property to use the fix

* ODI-41 : Changed property name

* ODI-41 : Using temporary files instead of a fixed one

* ODI-41 : Applied usage of snakeyaml instead of regex for $ref fix

* ODI-41 : Minor name refactoring

* ODI-41 : PR Feedback
* ODI-76 : add generation version in protobuf generated files

* ODI-76 : add generation version in java and jaxrs-spec + tests and improvements for protobuf
add unknown and unspecified option for jaxrs-spec
migrating to 6.4.2-amadeus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants