Skip to content

Annotations Reference

Complete reference for all NpgsqlRest comment annotations. For an introduction to how annotations work, see the Comment Annotations Guide.

How to Use This Reference

Each annotation has its own page with:

  • Recognized keywords
  • Syntax explanation
  • Working examples from the test suite
  • Related annotations

Annotation Categories

HTTP & Routing

  • HTTP - Expose function as HTTP endpoint
  • PATH - Set custom endpoint path
  • ENABLED - Enable endpoint for specific tags
  • DISABLED - Disable endpoint for specific tags
  • TAGS - Filter annotations by tags

Authorization

Basic Authentication

Request Configuration

Response Configuration

Raw Output Mode

Caching

Performance

Server-Sent Events

Upload

Policies

Context & Security

Parameter Annotations

Custom

Released under the MIT License.