If I provide the open API spec, I can have the rou...
# http4k
s
If I provide the open API spec, I can have the routes generated which will have basic capability of mapping patha and query parameters and the do something like this
Copy code
val router =Router.loadSpec(filePath)
router.registerHandler(operationId, handler)
So that I have the body lens for query and path lenses generated and It also helps in validating the spec and what server has is consistent