Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9761

camel-swagger-java - Allow to use custom CORS headers for api-docs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.1, 2.18.0
    • Component/s: camel-swagger
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Today they are hardcoded for the api-doc, but you can customize for the rest services. We should let api-doc use the same cors headers as the services.

      Also we should make api-docs CORS enabled if you enable CORS on the REST services so its done in the same place.

      Today you need to turn on both.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: