camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11960) camel-swagger-java - Generated swagger doc should use primitive types
Date Sat, 28 Oct 2017 07:52:02 GMT
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)

Mime
View raw message