This implies that if I don't declare any apiDoc on the handler, and I don't put anything in the paths section of the top-level doc for a path, express will route to the handler it discovers with fs-routes. Is there a way I can configure it to return a 404 (or some other error) in this case?
Looking at this test: https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-framework/test/sample-projects/paths-dir-with-no-method-doc
This implies that if I don't declare any apiDoc on the handler, and I don't put anything in the paths section of the top-level doc for a path, express will route to the handler it discovers with fs-routes. Is there a way I can configure it to return a 404 (or some other error) in this case?