We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema validation is not working as expected when a trailing slash ("/") is added at the end of the URL.
Request
curl --location 'https://localhost:8243/sample/1.0/api/v1/testingEnpoint' \ --header 'accept: */*' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJ4NXQiOiJNell4TW1Ga09HW...' \ --data '{"test":1}'
Response
<am:fault xmlns:am="http://wso2.org/apimanager"> <am:code>400</am:code> <am:message>Bad Request</am:message> <am:description>Schema validation failed in the Request: #: expected type: String, found: JSONObject, </am:description> </am:fault>
curl --location 'https://localhost:8243/sample/1.0/api/v1/testingEnpoint/' \ --header 'accept: */*' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJ4NXQiOiJNell4TW1Ga09HW...' \ --data '{"test":1}'
{ "hello": "world" }
[1] SampleSwagger.yaml.txt
APIM
3.2.0
No response
APIM-3.2.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Schema validation is not working as expected when a trailing slash ("/") is added at the end of the URL.
Steps to Reproduce
Scenario 01
Request
Response
Scenario 02
Request
Response
[1] SampleSwagger.yaml.txt
Affected Component
APIM
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
APIM-3.2.0
The text was updated successfully, but these errors were encountered: