Accessing Custom Annotations in Middleware with @effect/platform/http

Hello all, we finally rewritten all our backends from effect-http to @effect/platform/http.

I have one question that I can't find the solution to in the docs. I have every endpoint declared using HttpApi (to generate clients & openApi documentation). Now, I created a custom annotations and want to access them in the middleware. Is it possible to get to endpoint.anotation in middleware implementation so I can access
Context.getOption(
          endpoint.annotations,
          MyCustomAnnotation
        )


?
Was this page helpful?