annotation
Amber::Schema::Request
Overview
Define request schema and content type for an endpoint Properties:
- schema: The schema class to use for request validation
- content_type: The expected content type (default: "application/json") Example: @[Request(schema: CreateUserSchema, content_type: "application/json")]