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
Hello! I'm testing a mock server in docker, I ran into a problem that the answers come in different forms, either 200 ok status and a string, or a serialized model in the form of json, or a 500 code with an error in the form of a string. All models are described correctly in Swagger.json, is this behavior correct? Is it possible to generate only a successful response that was described in the swagger response model?
Hello! I'm testing a mock server in docker, I ran into a problem that the answers come in different forms, either 200 ok status and a string, or a serialized model in the form of json, or a 500 code with an error in the form of a string. All models are described correctly in Swagger.json, is this behavior correct? Is it possible to generate only a successful response that was described in the swagger response model?
command:
docker run -p 8080:8080 -e "OPENAPI_MOCK_SPECIFICATION_URL=https://mpauth-uat.vtbcapital-broker.ru/nabixProxy/clients/swagger/v1/swagger.json" -e "OPENAPI_MOCK_SUPPRESS_ERRORS=1" -e "OPENAPI_MOCK_USE_EXAMPLES=if_present" -e "OPENAPI_MOCK_NULL_PROBABILITY=0" --rm muonsoft/openapi-mock
swagger 200 model:
pQ2LRvGUtr.mp4
The text was updated successfully, but these errors were encountered: