You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gi...@apache.org on 2022/06/23 13:03:41 UTC
[camel] branch regen_bot updated (16d19dfbb13 -> 7adea167b8f)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git
from 16d19dfbb13 CAMEL-18220: camel-jbang - Upgrade to quarkus camel 2.10.0
add 7adea167b8f CAMEL-18221: Enable REST OpenAPI component to handle YAML OpenAPI documents
No new revisions were added by this update.
Summary of changes:
components/camel-rest-openapi/pom.xml | 5 +
.../rest/openapi/RestOpenApiEndpoint.java | 29 +-
.../component/rest/openapi/RestOpenApiHelper.java | 43 ++
.../openapi/RestOpenApiComponentV3YamlTest.java | 267 +++++++
.../rest/openapi/RestOpenApiComponentYamlTest.java | 267 +++++++
.../rest/openapi/RestOpenApiHelperTest.java | 77 ++
.../src/test/resources/alt-openapi.yaml | 792 ++++++++++++++++++++
.../src/test/resources/alt-petstore.yaml | 699 ++++++++++++++++++
.../src/test/resources/openapi-v3.yaml | 802 +++++++++++++++++++++
.../src/test/resources/openapi.yaml | 699 ++++++++++++++++++
.../org/apache/camel/spi/ContentTypeAware.java | 36 +
.../impl/engine/DefaultResourceResolvers.java | 146 ++--
.../org/apache/camel/support/ResourceHelper.java | 42 +-
13 files changed, 3805 insertions(+), 99 deletions(-)
create mode 100644 components/camel-rest-openapi/src/test/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentV3YamlTest.java
create mode 100644 components/camel-rest-openapi/src/test/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentYamlTest.java
create mode 100644 components/camel-rest-openapi/src/test/resources/alt-openapi.yaml
create mode 100644 components/camel-rest-openapi/src/test/resources/alt-petstore.yaml
create mode 100644 components/camel-rest-openapi/src/test/resources/openapi-v3.yaml
create mode 100644 components/camel-rest-openapi/src/test/resources/openapi.yaml
create mode 100644 core/camel-api/src/main/java/org/apache/camel/spi/ContentTypeAware.java