Add an option to kill the server on invalid OpenAPI doc
eropple opened this issue · comments
Ed Ropple commented
Much like how a failed migration kills the server, OpenapiModule should have an option to exit with a failed error code when your OpenAPI document fails validation.
I often have a half-working OpenAPI document as I'm working on this or that, so this wouldn't make so much sense as a default-on option, but having it as an option in test environments would probably be a good idea.