Schema Validation Contract Tests not being Generated #587
Answered
by
thim81
PaulCluver
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
thim81
Jun 18, 2024
Replies: 1 comment 1 reply
-
hi @PaulCluver There could be several reasons, but the most logical would be, is there a response model defined for the 201 response code in OpenAPI? We have an example for Variation tests, that support the schema validation if you are looking for a case to compare with: https://github.com/apideck-libraries/portman/tree/main/examples/testsuite-variation-tests |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PaulCluver
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi @PaulCluver
There could be several reasons, but the most logical would be, is there a response model defined for the 201 response code in OpenAPI?
We have an example for Variation tests, that support the schema validation if you are looking for a case to compare with: https://github.com/apideck-libraries/portman/tree/main/examples/testsuite-variation-tests