Hi community,
I am working on documenting my API using smartdocs/swagger 2.0 and realised that parameters that are in "formData" are not rendered in portal.
Check this out:
... "delete": { "description": "Revoke an active access token", "operationId": "revoke-access-token", "parameters": [ { "name": "token", "description": "Access token to be revoked", "in": "formData", "required": true, "type": "string" } ], "responses": { "200": { "description": "Success" } } } ...
I am attaching the portal rendering of this to this question.
Is there anything I am doing wrong or is this not supported yet?
Cheers
Dear @Ozan Seymen ,
Can you try one below ? Use query instead of formdata ..
"delete": { "description": "Revoke an active access token", "operationId": "revoke-access-token", "parameters": [{ "name": "token", "description": "Access token to be revoked", "in": "query", "required": true, "type": "string" }], "responses": { "200": { "description": "Success" } } }
I already know that query works. My question is about formdata.
@Ozan Seymen Were you able to get "formdata" working? I am having a similar issue with my Swagger file.
No @sudheendra1 - haven't tested with GA release yet.
Hi, any updates on this? I am also encountering teh same issue. when I use postman, it is working, but when I am calling through my Swagger 2.0 spec, I am getting issues with passing the grant type in formData.
Hi, do we already have a solution for this? Thanks.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |