Alexander Hedges

Results 36 comments of Alexander Hedges

I agree that it cannot be done without user-provided callbacks for A, B, C and D. Right now we have a _generic_ custom middleware which takes callbacks and does the...

I just saw that you can use the EmbeddedSpec option to make this runtime loading of the spec potentially less painful.

> How custom are you looking to go? If you can derive from Fedora CoreOS and just make tweaks to it then I would just do a [container build](https://github.com/coreos/layering-examples/blob/main/tailscale/Containerfile) and...

Closing this issue as the answer solves my problem, thanks again.

The current approach sort of works if you restrict yourself to one security scheme per endpoint. We are currently using a middleware which checks the request against the given authenticators....

For the issue with multiple security schemes per endpoint see https://github.com/oapi-codegen/oapi-codegen/issues/1644. Our middleware currently resolves this problem by always assuming OR (which is the more common case) and disallowing AND-ing...