endpoint metadata

Extra information attached to an endpoint, such as tags, accepted and produced types or authorization requirements, used by middleware and OpenAPI.

In more detail

OpenAPI generation, authorization and rate limiting all read it. Minimal APIs add it with calls such as .WithTags("Products"); controllers use attributes.

Related terms

Taught in

References