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

Claus Ibsen commented on CAMEL-20640:
-------------------------------------

This api is very basic and has no in / out type that would then use the 
consumes/produces.
You could argue that the default response, should be "200" instead of "default 
{}"

              "application/json": {
                "schema": {
                  "type": "string"
                }
              }

> rest-dsl - Using code first and setting consumes/produces on rest 
> configuration should be used for api-doc
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20640
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20640
>             Project: Camel
>          Issue Type: Bug
>          Components: rest
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.6.0
>
>
> When using rest-dsl code-first and have api-doc exposed then the generate doc 
> does not include produces/consumes on the API operations if its configured 
> globally in the rest configuration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to