Smartdocs : Schema and Value (in part Request Body) disparear when i add the security in a operation

Not applicable

Dear all

On an operation, I have a parameter described as follows:

    "/api/normad/adresses/ignore": {
      "post": {
        .........
        ],
        "parameters": [
          {
            "name": "adresse",
            "in": "body",
            "required": false,
            "description": "adresse",
            "schema": {
              "$ref": "#/definitions/DtoRestAdressePostale"
            }
          }
        ],

When, I add security with the edition of the operation "ignore" (I click on ApiKey in the edition of operation) and then I visualize the method, the two buttons appear well against the schema and value (detail of DtoRestAdressePostale) in the part "Request Body" are disapeared.

capture.png

Thanks for your help

0 8 338
8 REPLIES 8

Not applicable

@Dino,

Could you please respond to the issue reported here?

-Nagesh

,

@Dino,

Could you please update on the issue reported here? I am also facing similar issue.

--Nagesh

Not applicable

@Nathalie.MANTILLA

Were you able to fix this issue?

-Nagesh

Not applicable

@Daniel Johnson

Could you please help resolve the issue stated in this page?

Thanks in advance!

-Nagesh

Not applicable
@Anil Sagar

,

@Rakshith Rao

Hi Guys,

Could you please help me on above issue?

Regards,

Nagesh

Not applicable
@Dino

Could you please update with any information that you might have?

-Nagesh

Did you try validating your swagger document on editor.swagger.io ? Ideally the scenario you are describing should not occur if the swagger is valid

Swagger has got nothing to do here, it crossed that part.

When I add custom security tag that is where the request tab is disappeared.

-Nagesh

Not applicable

@nlingala . hey did the above issue got resolved ? We are facing the same issue. TIA