Standardizing Idempotency Definitions in OpenAPI Specification
Defining Write-Safety for Non-Idempotent Methods The OpenAPI Specification (OAS) provides a framework for describing API interfaces, but it lacks a dedicated keyword to explicitly mark an endpoint as idempotent. While PUT and DELETE are inherently idempotent per RFC 7231, POST requests often require custom logic—such as the use of an Idempotency-Key header—t