Claus Ibsen created CAMEL-11960:
-----------------------------------

             Summary: camel-swagger-java - Generated swagger doc should use 
primitive types
                 Key: CAMEL-11960
                 URL: https://issues.apache.org/jira/browse/CAMEL-11960
             Project: Camel
          Issue Type: Improvement
          Components: camel-swagger, rest
    Affects Versions: 2.20.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.20.1, 2.21.0


There are some known types which we should map better to Java primitive types
https://swagger.io/specification/#schemaObject

This does not happen in the responses schema generated.

Where we have "format": "java.lang.String" which should not be there.

See also
https://stackoverflow.com/questions/46975303/suppressing-camel-specific-attributes-from-camel-generated-swagger-definition



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to