# Specification and evidence notes

Read against live official HTML on 2026-10-25 before implementing rules. OAS 3.2.1 is dated 2026-09-10 and is a clarification patch; the selected feature set is the same for 3.2.0 and 3.2.1. Targets are the OpenAPI 3.1 standard fields, checked against the 3.1.2 published specification. Tool-specific behavior is not inferred from standard-field absence.

| Rule / typed context | Official 3.2.1 section | 3.1 risk and manual handling |
| --- | --- | --- |
| `path.query` / Path Item | [Path Item §4.9.1](https://spec.openapis.org/oas/v3.2.1.html#path-item-object) | High: a 3.1 consumer may omit QUERY. Review router, client, body semantics; do not change the HTTP method automatically. |
| `path.additionalOperations` / Path Item | [Path Item §4.9.1](https://spec.openapis.org/oas/v3.2.1.html#path-item-object) | High: arbitrary method operations have no equivalent standard 3.1 map. Review each method and target tool. |
| `parameter.querystring` / Parameter | [Parameter §4.12](https://spec.openapis.org/oas/v3.2.1.html#parameter-object) | High: whole-query-string content semantics differ from individual query parameters. A mechanical `querystring` → `query` rename is unsafe. |
| `media.itemSchema` / Media Type | [Media Type §4.14.1](https://spec.openapis.org/oas/v3.2.1.html#media-type-object) | High: per-item sequential content schema can be lost. An array schema is not automatically the same wire format. |
| `tag.parent` / root Tag | [Tag §4.22.1](https://spec.openapis.org/oas/v3.2.1.html#tag-object) | Medium: native hierarchy can be lost. Check target navigation/extension behavior manually. |
| `tag.kind` / root Tag | [Tag §4.22.1](https://spec.openapis.org/oas/v3.2.1.html#tag-object) | Medium: tag classification can be lost. Check display/consumer use. |
| `tag.summary` / root Tag | [Tag §4.22.1](https://spec.openapis.org/oas/v3.2.1.html#tag-object) | Medium: native display summary absent in 3.1 Tags. A summary in another object is not a match. |
| `example.dataValue` / Example | [Example §4.19.1–2](https://spec.openapis.org/oas/v3.2.1.html#example-object) | Medium: validation-ready data is distinct from serialized text. `value` is only a possible manual option when value-safe. |
| `example.serializedValue` / Example | [Example §4.19.1–2](https://spec.openapis.org/oas/v3.2.1.html#example-object) | Medium: explicit encoding/escaping semantics can be lost. Review `value` string or `externalValue` per target/media type. |

Severity describes potential impact, not a normative specification error or measured probability. Present fields are flagged even when their values are empty, null or invalid; full value validation is outside scope.

Traversal follows root paths/webhooks/tags/components, Path Item operations/parameters, Operation parameters/requestBody/responses/callbacks, Request Body/Response content, Header/Parameter examples/content, Media Type examples/schema/itemSchema/encoding headers, and Callback expressions. Components include pathItems, parameters, headers, requestBodies, responses, callbacks, examples, schemas and mediaTypes. Named component/example keys starting `x-` remain names; actual Specification Extension values at object extension positions remain opaque. Response key matching is constrained to normative response-code/default positions.

Reference rules were checked against [Reference Object §4.23](https://spec.openapis.org/oas/v3.2.1.html#reference-object), [relative-reference guidance](https://spec.openapis.org/oas/v3.2.1.html#relative-references-in-api-description-uris), and [implicit object context Appendix G](https://spec.openapis.org/oas/v3.2.1.html). The tool supports a deliberately narrower entry-document pointer subset; it does not implement URI resource identity, dynamic scope or a resolver for the complete specification.

3.1 comparison: [Path Item](https://spec.openapis.org/oas/v3.1.2.html#path-item-object), [Parameter](https://spec.openapis.org/oas/v3.1.2.html#parameter-object), [Media Type](https://spec.openapis.org/oas/v3.1.2.html#media-type-object), [Tag](https://spec.openapis.org/oas/v3.1.2.html#tag-object), [Example](https://spec.openapis.org/oas/v3.1.2.html#example-object).

The [official upgrade guide](https://learn.openapis.org/upgrading/v3.1-to-v3.2.html) describes the wider set of additions. This preflight explicitly leaves the unimplemented additions unevaluated; a zero-finding result does not imply 3.1 compatibility.

Market boundary: [oapi-codegen issue #2436](https://github.com/oapi-codegen/oapi-codegen/issues/2436) is public evidence of a specific support question, including QUERY and router considerations. Later discussion describes custom-method router support with setup in some routers. It does not establish that all SDKs lack support, nor prove search volume or a rising trend. This is a recent specification change plus public-demand candidate, not a validated hot keyword. No outdated Swagger/Redoc competitive claim is made. No competitor claims are used in the product.

## Encoding traversal correction

Independent review found that the original Encoding branch visited only headers, missing nested Encoding Objects. [OAS 3.2.1 §4.15.1–2](https://spec.openapis.org/oas/v3.2.1.html#encoding-object), re-read on 2026-10-25, explicitly types `encoding` as a map of Encoding Objects, `prefixEncoding` as an array of Encoding Objects, and `itemEncoding` as one Encoding Object. The Encoding context now follows these three edges, preserving the same Header → Example traversal. This repairs the existing Example rules; it adds no new feature rule and does not certify encoding or serialization validity. Recursion remains bounded by the existing parser depth/node limits, typed-object visit limit, result limit and worker timeout.
