openapi-backend icon indicating copy to clipboard operation
openapi-backend copied to clipboard

Use as middleware/skip routing?

Open openreply-dleinhaeuser opened this issue 2 years ago • 1 comments

Is there a way to have openapi-backend handle everything except the routing? For my needs it would be excellent, if the validation and security could be handled as a middleware and the routing could be handled by express in traditional fashion. That would make it much easier to integrate with existing code.

openreply-dleinhaeuser avatar May 31 '22 12:05 openreply-dleinhaeuser

@openreply-dleinhaeuser Not sure I understand completely.

You would like to pass the operationId directly to OpenAPIBackend.handleRequest to skip the routing part?

anttiviljami avatar Jun 10 '22 13:06 anttiviljami

Closing due to no activity

anttiviljami avatar Aug 27 '22 07:08 anttiviljami