biocad / servant-openapi3

OpenAPI 3.0 for Servant
BSD 3-Clause "New" or "Revised" License
38 stars 23 forks source link

Add an HasOpenApi instance for AuthProtect #50

Open vendethiel opened 9 months ago

vendethiel commented 9 months ago

This is a dummy instance that does nothing. The securitySchemes are top-level, so they cannot be defined/extracted here.

However, there could be an argument that this should add the AuthProtect's symbol to all the nested routes' security... I'm unsure how to do that though.