Question:
Is there any way to write a golden test for the OpenApi spec without having to launch a rocket server before?
I can generate it with the openapi_get_spec! macro and would like to test its content against an earlier created openapi spec stored as Json file on my system. I retrieved the Json file through the Swagger Web UI which was served using this crate.
Question:
Is there any way to write a golden test for the OpenApi spec without having to launch a rocket server before?
I can generate it with the
openapi_get_spec!macro and would like to test its content against an earlier created openapi spec stored as Json file on my system. I retrieved the Json file through the Swagger Web UI which was served using this crate.