Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.16.2, 2.17.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"
},...]