You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/12/21 15:15:00 UTC

[jira] [Created] (CAMEL-13029) camel-swagger-java - Should default use scheme from rest-dsl configuration in swagger doc

Claus Ibsen created CAMEL-13029:
-----------------------------------

             Summary: camel-swagger-java - Should default use scheme from rest-dsl configuration in swagger doc
                 Key: CAMEL-13029
                 URL: https://issues.apache.org/jira/browse/CAMEL-13029
             Project: Camel
          Issue Type: Improvement
          Components: camel-swagger
    Affects Versions: 2.23.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.22.3, 3.0.0, 2.24.0, 2.23.1


Because http is default then we have not noticed before. But if you use https as the scheme in the rest-dsl for the rest service then the swagger doc generated is outputting http by default. We should use the scheme setting from the rest-dsl out of the box.

You can configure it explicit via

				.apiProperty("schemes", "https")




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)