Open ZeeD opened 4 months ago
I encountered the exact same issue.
Have you tried downgrading OpenAPI version (from 3.1.0
to 3.0.0
)?
That did the trick for me.
Prior to downgrading, I was also importing 3.1.0
OpenAPI spec and only after realizing that Petstore OpenAPI (OpenAPI version 3.0.0
) works as expected, I was able to fix this...
Keep in mind that the openapi json has been generated from sources (I know that the service relies on python's fastapi project) I don't know how easy it would be to update the service to generate the openapi specs in a different format, and, btw, I don't have direct access to the project. Do you know any converter I can use locally to change from 3.1.0 to 3.0.0?
Describe the issue I have an openapi-spec, the relevant bits are the following one:
After using the REST api, mockserver has imported the openapi spec and generated some expectations. The relevant one is:
now, if I try to call the endpoint with a number, as proposition, it works:
but if I use a word, I got a 404 and some errors in the logs
That doesn't seems right to me
MockServer version I'm using the docker version of mock-server, tagging
mockserver/mockserver:latest