You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Flavel Heyman (JIRA)" <ji...@apache.org> on 2016/04/01 20:44:25 UTC
[jira] [Created] (CAMEL-9796) Internal Access still displayed, no
change to JSON generated
Flavel Heyman created CAMEL-9796:
------------------------------------
Summary: 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)