Skip to content

[CAMEL-14227]add a new camel-rest-openapi component and use apicurio-…#3384

Merged
ffang merged 13 commits intoapache:masterfrom
ffang:CAMEL-14227
Dec 5, 2019
Merged

[CAMEL-14227]add a new camel-rest-openapi component and use apicurio-…#3384
ffang merged 13 commits intoapache:masterfrom
ffang:CAMEL-14227

Conversation

@ffang
Copy link
Copy Markdown
Contributor

@ffang ffang commented Dec 4, 2019

…data-module which can support OpenApi 2 & 3 at the same time

Copy link
Copy Markdown
Member

@zregvart zregvart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ffang I found some nitpicking issues. Perhaps since using the Swagger API in the rest-swagger component is an internal detail we could replace it outright with the Apicurio model for OpenAPI and rename the component to rest-openapi and alias it to rest-swagger. I know it's safer to just add a new component, but that also comes with some maintenance burden...

@davsclaus
Copy link
Copy Markdown
Contributor

I think a new camel-rest-openapi component is better, and then we can deprecate the old swagger. Its still early days in Camel 3 so it's fine.

ffang and others added 11 commits December 5, 2019 09:58
…nent.adoc

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…nent.adoc

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…nent.adoc

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…nent.adoc

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…nent.adoc

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…omponent/rest/openapi/RestOpenApiComponent.java

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…omponent/rest/openapi/RestOpenApiComponent.java

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
…omponent/rest/openapi/RestOpenApiComponent.java

Co-Authored-By: Zoran Regvart <zoran@regvart.com>
Copy link
Copy Markdown
Contributor Author

@ffang ffang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more polish and sync up

@ffang ffang merged commit 4ed8253 into apache:master Dec 5, 2019
@ffang
Copy link
Copy Markdown
Contributor Author

ffang commented Dec 5, 2019

Thanks @zregvart and @davsclaus for the through feedback!

And yes, I tend to keep camel-rest-swagger component for a while and deprecate it late on. All others revised accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants