You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/04/02 09:08:25 UTC
[jira] [Commented] (CAMEL-9796) Internal Access still displayed, no
change to JSON generated
[ https://issues.apache.org/jira/browse/CAMEL-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222760#comment-15222760 ]
Claus Ibsen commented on CAMEL-9796:
------------------------------------
access is an old parameter from 1.x. Its not in use in 2.0 spec.
> 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
> Affects Versions: 2.16.2, 2.17.0
> Reporter: Flavel Heyman
>
> 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)