[
https://issues.apache.org/jira/browse/CAMEL-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-9796:
-------------------------------
Fix Version/s: 2.17.1
2.18.0
> Internal Access still displayed, no change to JSON generated
> ------------------------------------------------------------
>
> Key: CAMEL-9796
> URL: https://issues.apache.org/jira/browse/CAMEL-9796
> Project: Camel
> Issue Type: Bug
> Components: camel-swagger, rest
> Affects Versions: 2.16.2, 2.17.0
> Reporter: Flavel Heyman
> Fix For: 2.18.0, 2.17.1
>
>
> When setting ".access" either "internal" or as "false" it still appears in
> Swagger-UI/doesn't modify the JSON to "paramAccess":"internal"
> {code}
> rest(baseUrl).get("/{customerId}")
> //--------Swagger Documentation--------
>
> .param().name("customerId").access("internal").type(RestParamType.body).description("The
> customer ID number.").required(true).dataType("string").endParam();
> {code}
> JSON Generated:
> {code}
> parameters: [{
> name: "customerId",
> in: "path",
> description: "The customer ID number.",
> required: true,
> type: "string"
> },...]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)