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

Internal Access still displayed, no change to JSON generated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.16.2, 2.17.0
    • 2.16.3, 2.17.1, 2.18.0
    • camel-swagger, rest
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: