You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2019/12/04 16:47:00 UTC

[jira] [Comment Edited] (CAMEL-14227) camel-rest-swagger - Add support for OpenApi 3.0 spec

    [ https://issues.apache.org/jira/browse/CAMEL-14227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987989#comment-16987989 ] 

Freeman Yue Fang edited comment on CAMEL-14227 at 12/4/19 4:46 PM:
-------------------------------------------------------------------

Hi [~zregvart] [~davsclaus],

Please see the PR.

It's like old camel-rest-swagger component but use apicurio data model so can parse both OpenApi 2 & 3 doc and generate REST DSL Client accordingly.

Compared to camel-rest-swagger, the default open api doc location changed from swagger.json to openapi.json.

All the existing open api v2 tests passed, also added open api v3 tests accordingly.

Please let me know what you guys think.

Cheers
Freeman


was (Author: ffang):
Hi [~zregvart] [~davsclaus],

Please see the PR.

It's like old camel-rest-swagger component but use apicurio data model so can parse both OpenApi 2 & 3 doc and generate REST DSL Client accordingly.

Cheers
Freeman

> camel-rest-swagger - Add support for OpenApi 3.0 spec
> -----------------------------------------------------
>
>                 Key: CAMEL-14227
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14227
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-swagger
>    Affects Versions: 3.0.0
>            Reporter: Freeman Yue Fang
>            Assignee: Freeman Yue Fang
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> similarly as CAMEL-12619, but just the other way.
> We can add a new camel-rest-openapi component and use apicurio-data-module which can support OpenApi 2 & 3 at the same time instead of using swagger.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)