You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/12/05 11:14:09 UTC

(camel) branch main updated (05b5783767e -> 45013eb6f8d)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


    from 05b5783767e Regen and upgrade to localstack 3.0.2 (#12315)
     add 45013eb6f8d CAMEL-20181: camel-openapi-java - refactor tests to support both OpenAPI 3.0 and 3.1 (#12316)

No new revisions were added by this update.

Summary of changes:
 components/camel-openapi-java/pom.xml              |   4 +
 .../java/org/apache/camel/openapi/BeanConfig.java  |  42 ++++++-
 .../java/org/apache/camel/openapi/OpenAPI3to2.java |   2 +-
 .../apache/camel/openapi/RestOpenApiReader.java    |  12 +-
 .../apache/camel/openapi/RestOpenApiSupport.java   | 125 ++++++++++-----------
 .../org/apache/camel/openapi/ComplexTypesTest.java | 118 +++++++++----------
 .../RestOpenApiDefaultProducesConsumesTest.java    |  14 +--
 .../camel/openapi/RestOpenApiLicenseInfoTest.java  |   2 +-
 ...estOpenApiModelApiSecurityRequirementsTest.java |  12 +-
 .../RestOpenApiReaderApiDocsOverrideTest.java      |  39 ++-----
 .../openapi/RestOpenApiReaderApiDocsTest.java      |  48 +++-----
 .../openapi/RestOpenApiReaderContextPathTest.java  |  14 ++-
 .../openapi/RestOpenApiReaderDayOfWeekTest.java    |  54 +++------
 .../openapi/RestOpenApiReaderDisabledTest.java     |  13 ++-
 ...RestOpenApiReaderEnableVendorExtensionTest.java |  52 +++------
 .../RestOpenApiReaderFileResponseModelTest.java    |  40 +++----
 .../RestOpenApiReaderModelApiSecurityTest.java     |  14 ++-
 .../RestOpenApiReaderModelBookOrderTest.java       |  13 ++-
 .../camel/openapi/RestOpenApiReaderModelTest.java  |  18 ++-
 .../RestOpenApiReaderOverrideHostApiDocsTest.java  |  70 +-----------
 .../RestOpenApiReaderPropertyPlaceholderTest.java  |  21 ++--
 .../camel/openapi/RestOpenApiReaderTest.java       |  18 +--
 .../openapi/RestOpenApiV2SecuritySchemesTest.java  |   2 +-
 .../openapi/RestOpenApiV3SecuritySchemesTest.java  |  10 +-
 .../apache/camel/openapi/RestOpenApiV3XOfTest.java |  33 +++---
 ...pringRestOpenApiReaderModelApiSecurityTest.java |   5 +-
 ...t.json => V20SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 ....json => V20SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V30SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 ....json => V30SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V31SchemaForComplexTypesRequest.json} |   4 +-
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   2 +-
 ....json => V31SchemaForComplexTypesResponse.json} |   4 +-
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   2 +-
 38 files changed, 346 insertions(+), 461 deletions(-)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequest.json => V20SchemaForComplexTypesRequest.json} (100%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequestWithSchemaAnnotation.json => V20SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponse.json => V20SchemaForComplexTypesResponse.json} (100%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponseWithSchemaAnnotation.json => V20SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 copy components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json => V30SchemaForComplexTypesRequest.json} (100%)
 copy components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json => V30SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 copy components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json => V30SchemaForComplexTypesResponse.json} (100%)
 copy components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponseWithSchemaAnnotation.json => V30SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json => V31SchemaForComplexTypesRequest.json} (99%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json => V31SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json => V31SchemaForComplexTypesResponse.json} (99%)
 rename components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponseWithSchemaAnnotation.json => V31SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)