Proof Key for Code Exchange (PKCE) ties an OAuth authorization-code request to a one-time secret created by the client. An intercepted code alone then cannot be exchanged for an access token. Public clients MUST use PKCE; confidential clients are RECOMMENDED to use it. New implementations should use S256, not plain, which exposes the verifier.
When a Phoenix app serves both browser pages and a JSON API, separate request paths and Plug pipelines in the router, keep controllers focused on HTTP input/output, and put data rules in Contexts. Browser requests may need sessions and CSRF protection; API requests often need JSON handling instead. Separate routes do not automatically add authentication or authorization.
A persistent connection lets multiple HTTP request/response exchanges reuse one network connection. HTTP/1.1 uses persistence by default, avoiding repeated TCP setup. It is not a permanent connection or a guarantee that a request will succeed: servers and networks can close connections at any time.
OpenTelemetry (OTel) is an open-source standard and toolkit for generating, collecting, processing, and exporting telemetry such as traces, metrics, and logs. It is not the observability backend that stores data or provides query screens. To get started, decide whether you need code-based or automatic instrumentation, choose the data format and export path, and add a Collector when an intermediate layer fits your needs.
The OpenAPI Specification (OAS) is a standard format for describing an HTTP API’s URLs, operations, inputs, responses, and security so both people and tools can read them. One OpenAPI document can drive documentation, client generation, and contract checks, but writing a specification does not automatically implement a server or make it behave as described. This article uses OAS 3.2.1, the latest published version as of November 18, 2026, to explain how to describe and review one read operation in a single YAML document. If your tools do not support 3.2.1, check which OAS version they support and set the document’s version field accordingly. ([OAS 3.2.1 Specification](https://spec.openapis.org/oas/v3.2.1.html), [official version list](https://spec.openapis.org/oas/))
In OpenAPI, operationId is a string that identifies one operation defined for a path and HTTP method. In OpenAPI Specification (OAS) 3.2.1, it must be unique among every operation described by the API and is case-sensitive. Tools and libraries may use it to identify operations, so include duplicate checks and rename review in your specification workflow.
An OpenAPI linter repeatedly checks both description structure and your team's API design rules. Applying strict rules to a legacy API all at once can create so much noise that teams disable linting. Choose a baseline, tune severity, track exceptions, then apply the gate to new changes in stages. This guide uses Redocly CLI's documented lint command; behavior can vary by tool and ruleset version.
OpenAPI examples make request and response contracts concrete, but schema-ready data and its serialized HTTP representation can differ. In OpenAPI 3.2.1, use dataValue for the data a schema validates, and serializedValue or externalValue for what is sent on the wire. This distinction prevents examples from teaching clients to send the wrong bytes or encoding.
In OpenAPI, discriminator is a hint for choosing among schemas composed with oneOf, anyOf, or allOf. In OAS 3.2.1, propertyName and optional mapping/defaultMapping associate payload values with schemas. The key boundary: discriminator does not change JSON Schema validation. Model the actual payload constraints separately.
An OpenAPI Callback Object describes a later request associated with an initial API request. For example, a client supplies a notification URL in its request and the provider POSTs to it when work is ready. The callback happens because of that initial request. Use the top-level OpenAPI webhooks field to describe provider-initiated events that are independent of another API call.
Offset pagination skips the first N rows of an ordered result and returns a set number of rows. It is easy to expose page numbers, but results can vary without a unique order, and changes between requests can make rows disappear or repeat. Deep offsets can also cost more to compute.
An object-relational mapper (ORM) maps application objects to relational database rows, columns, keys, and relationships so code can read and change data through objects. It can reduce repetitive SQL result mapping and track changes, but it does not remove SQL or database behavior. If you ignore relationship loading, generated SQL, and transaction boundaries, you can create N+1 queries, unexpected writes, or excess memory use.
An OAuth scope is an authorization-server-defined string that describes the access a client requests for an access token. Do not assume the requested scopes were granted unchanged. Request only the minimum privileges needed, check the scope actually granted, and use the resource only within that scope.
Node.js is a cross-platform runtime for JavaScript outside the browser. It suits API servers with many requests waiting on network, file, or database I/O. Its default model uses a small number of threads and an event loop, so long synchronous CPU work in one request can delay others. Using asynchronous APIs alone does not make a server automatically faster.
NGINX selects a server block using the request's listen port and Host name, then selects a matching location to serve a file. For a static site, root maps a URL path to a filesystem path and index chooses the default file for a directory request. This guide gives a minimal setup and checks for serving static files on a Linux package installation. Reverse proxy configuration is a separate topic.
NestJS modules group related controllers and providers into feature boundaries and declare which dependencies other modules can use. Controllers receive HTTP requests; providers such as services hold application work; module metadata registers both with Nest’s dependency-injection container. As a feature grows, design explicit module boundaries rather than only splitting files by role.
NATS is a distributed messaging system that routes messages by subject. Core NATS delivers a message at most once to clients currently connected and subscribed to that subject; it does not store or replay messages. If subscribers must receive messages while disconnected, use JetStream to store them in a stream and design consumer acknowledgements, redelivery, and read positions.
multipart/form-data carries text fields and files as separate parts in one HTTP request body. For a file-upload API, the client must generate a valid body with its boundary, while the server parses each part as a stream and enforces total and per-file limits and file checks. The format itself does not provide resumable transfer, integrity verification, or malware detection.
A monolithic architecture puts an application’s core behavior in one process and deployment unit. It is often simpler to start, release, and scale by cloning whole instances, but independent feature releases and selective scaling are harder. A modular monolith can preserve internal boundaries while keeping one deployment.
Middleware is a component that inspects or changes a request or response during web request processing, passes control to the next step, or ends the response. In Express, middleware runs in registration order. Put functions such as JSON parsing or authentication before the routes that need them, and put error-handling middleware after them. The code and behavior in this article are scoped to Express 5.