I have my Swagger schema JSON, which I used to import and get my postman collection.
Now for each Response JSON validation, I need a JSON Schema. Swagger has Examples, However, when there is a need to validate field value is having only the allowed values from Enum( for example, the status key should values only from any of this,[new, Inprogress, Completed], where these details are maintained in Swagger schema as DTO.
How can I create JSON Schema in this situation?