API endpoint: A path and HTTP method define an operation together
An API endpoint is the interface a client uses to invoke an API operation. For an HTTP API, describing an endpoint by URL path alone omits important information: GET and PATCH at the same path can have different actions and request/response contracts. OpenAPI 3.2.1 describes paths together with the operations supported at each path.
An API endpoint is the interface a client uses to invoke an API operation. For an HTTP API, describing an endpoint by URL path alone omits important information: GET and PATCH at the same path can have different actions and request/response contracts. OpenAPI 3.2.1 describes paths together with the operations supported at each path.
Separate the URL from the operation
For example, /orders/{orderId} is a path template for one order; {orderId} is a path parameter whose value varies per request. A GET operation on that path can define retrieving an order, while PATCH can define a partial update. The complete request URL combines a server URL and path. Query parameters, headers, and a request body may also be part of the operation contract.
Examples: GET /orders/42 might retrieve an order; PATCH /orders/42 might modify it; GET /orders?status=open might list filtered orders. These are illustrative only, not claims about a live API. Read HTTP semantics together with the API-specific contract; one URL does not guarantee the same response or access rights for every method.
Find the contract in OpenAPI
The servers field gives server URLs; paths contains endpoint path templates and path items. A path item can define get, post, put, patch, and other operations. An operation may specify operationId, parameters, requestBody, responses, and security. Each {parameter} in a path template must correspond to a required path parameter declaration.
When reviewing a document, verify the combined server URL and path, parameter names/types/constraints, supported methods, query/header/body inputs, media types, response codes and schemas, security settings and exceptions, and documented caching, retry, rate-limit, and error behavior.
An accurate OpenAPI document does not prove the deployed server matches it; implementation and integration checks are still needed. A documented path also does not mean every caller is authorized. Authentication and resource-level permissions must be checked at runtime.
Common confusions
The path identifies the target; the method indicates the kind of action. A task-like path name does not alone establish whether the API is valid or invalid: follow its actual contract and HTTP semantics. Different parameter names can still describe the same structural path and conflict in a document. A documented operation can still be denied by security policy, deployment state, or tenant scope.
Sources
[OpenAPI Specification 3.2.1: Paths Object](https://spec.openapis.org/oas/v3.2.1.html#paths-object)
[OpenAPI Specification 3.2.1: Path Item Object](https://spec.openapis.org/oas/v3.2.1.html#path-item-object)
[RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html)