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
Describe the issue
Default reponse miss property of type string format byte.
Returned reponse is not valid and consumer crashed.
What you are trying to do
I have a yml with a reponse in which one property is mandatory and of type: string, format: byte.
The request is matched and a response is returned, but this required property is not included, which is clearly seen in the UI and in the log.
MockServer version
mockserver-netty-no-dependencies
5.15.0
To Reproduce
OAS with required property of type: string, format: byte.
In Java main method:
ClientAndServer.startClientAndServer(PORT)
.upsert(
openAPIExpectation("the.yaml"));
Expected behaviour
Return a default byte array (base64 encoded).
I tried example: "VG9sbE5vd0Jld2Vpc21pdHRlbA==", but the property is still not within the response.
MockServer Log
no log error, requests matching expectation and response retured.
The text was updated successfully, but these errors were encountered:
I had to switch because of this flaw to provide a complete response as json file, which is much less convenient - for one byte property. Would be really glad to the cool and short
ClientAndServer.startClientAndServer(port)
.upsert(
openAPIExpectation(...))
Describe the issue
Default reponse miss property of type string format byte.
Returned reponse is not valid and consumer crashed.
What you are trying to do
I have a yml with a reponse in which one property is mandatory and of type: string, format: byte.
The request is matched and a response is returned, but this required property is not included, which is clearly seen in the UI and in the log.
MockServer version
mockserver-netty-no-dependencies
5.15.0
To Reproduce
OAS with required property of type: string, format: byte.
In Java main method:
ClientAndServer.startClientAndServer(PORT)
.upsert(
openAPIExpectation("the.yaml"));
Expected behaviour
Return a default byte array (base64 encoded).
I tried example: "VG9sbE5vd0Jld2Vpc21pdHRlbA==", but the property is still not within the response.
MockServer Log
no log error, requests matching expectation and response retured.
The text was updated successfully, but these errors were encountered: