Open harvzor opened 8 months ago
Currently I run a real server and hit the /swagger/v1/swagger.json endpoint to get the JSON and check that the format is what I expect, but probably I can do it a smarter way:
/swagger/v1/swagger.json
https://stackoverflow.com/questions/62996494/unit-testing-that-the-swagger-doc-is-correct-without-starting-a-server
Currently I run a real server and hit the
/swagger/v1/swagger.json
endpoint to get the JSON and check that the format is what I expect, but probably I can do it a smarter way:https://stackoverflow.com/questions/62996494/unit-testing-that-the-swagger-doc-is-correct-without-starting-a-server