You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing issues in swagger UI, all APIs are working fine in my local but not working in Production (only few APIs are working).
Earlier APIs was working fine in my local and Production but suddenly It stopped working.
version: Local and Production same version I am using.
It's most probably because of the fact that swagger-client now utilizes spec compliant Path Templating implementation. The spec is still ambiguous about various cases like the one that probably affects you. More info OAI/OpenAPI-Specification#3256 (comment)
We were also suspecting the same. So, we tried to remove extra space from endpoints parameter names, it works for single path parameter, but it doesn't work for more than one Path-parameter.
In case of multi parameters - we could see the value only for the first param and the second param will have undefined.
example :
GET [/ABC/{FirstParameter/ID}/{SecondParameter}]
Hi Everyone,
I am facing issues in swagger UI, all APIs are working fine in my local but not working in Production (only few APIs are working).
Earlier APIs was working fine in my local and Production but suddenly It stopped working.
version: Local and Production same version I am using.
example :
GET [/ABC/{First Parameter / ID}/{Second Parameter}]
Response :-
Code Details
404
Error: Not Found
Response body
Unrecognized response type; displaying content as text.
Download
[ xyz - BackEnd Application Server ] - Unknown Comman
Request URL
https://abc.com/ABC/{First Parameter / ID}/{Second Parameter}
curl -X 'GET' \ 'https://abc.com/ABC/{First Parameter / ID}/{Second Parameter}' \ -H 'accept: /'
Anyone can help me on this?
The text was updated successfully, but these errors were encountered: