[CAMEL-14227]add a new camel-rest-openapi component and use apicurio-…#3384
[CAMEL-14227]add a new camel-rest-openapi component and use apicurio-…#3384ffang merged 13 commits intoapache:masterfrom
Conversation
…data-module which can support OpenApi 2 & 3 at the same time
zregvart
left a comment
There was a problem hiding this comment.
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...
components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
Outdated
Show resolved
Hide resolved
components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
Outdated
Show resolved
Hide resolved
components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
Outdated
Show resolved
Hide resolved
components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
Outdated
Show resolved
Hide resolved
components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
Outdated
Show resolved
Hide resolved
...rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
Outdated
Show resolved
Hide resolved
...rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
Outdated
Show resolved
Hide resolved
...rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
Outdated
Show resolved
Hide resolved
...g-boot/components-starter/camel-rest-openapi-starter/src/main/resources/META-INF/LICENSE.txt
Show resolved
Hide resolved
...ng-boot/components-starter/camel-rest-openapi-starter/src/main/resources/META-INF/NOTICE.txt
Show resolved
Hide resolved
|
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. |
components/camel-rest-openapi/src/test/resources/log4j2.properties
Outdated
Show resolved
Hide resolved
…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>
ffang
left a comment
There was a problem hiding this comment.
more polish and sync up
|
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. |
…data-module which can support OpenApi 2 & 3 at the same time