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

Internal Access still displayed, no change to JSON generated

    XMLWordPrintableJSON

    Details

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

      Description

      When setting ".access" either "internal" or as "false" it still appears in Swagger-UI/doesn't modify the JSON to "paramAccess":"internal"

      rest(baseUrl).get("/{customerId}")
        //--------Swagger Documentation--------
                          .param().name("customerId").access("internal").type(RestParamType.body).description("The customer ID number.").required(true).dataType("string").endParam();
      

      JSON Generated:

      parameters: [{
        name: "customerId",
        in: "path",
        description: "The customer ID number.",
        required: true,
        type: "string"
      },...]
      

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              flavouski Flavel Heyman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: