Currently, if any file in the openapi folder does not export a valid OpenAPI definition, it would result in an error. The error is controlled by the files loader, but it should be controlled by the openapi plugin. It should provide better feedback about how to fix it.
Currently, if any file in the
openapi
folder does not export a valid OpenAPI definition, it would result in an error. The error is controlled by the files loader, but it should be controlled by the openapi plugin. It should provide better feedback about how to fix it.