What’s New in OpenAPI 3.1.0? Key Features and Improvements Explained

The OpenAPI Specification 3.1.0 has been released, introducing a top‑level jsonSchemaDialect field, updated JSON Schema support, refined URI handling, enhanced file‑upload descriptions, and numerous clarifications that modernize API description and improve consistency across implementations.

Programmer DD
Programmer DD
Programmer DD
What’s New in OpenAPI 3.1.0? Key Features and Improvements Explained

At the start of the year, major vendors released new products, including Spring Boot 2.4.3 and the OpenAPI Specification 3.1.0.

OpenAPI 3.1.0, built on the 3.1.0‑rc1 release, brings several breakthrough optimizations.

New Additions

Added the jsonSchemaDialect top‑level field to allow defining a default $schema value for schema objects.

Updates

Updated several links to point to more accurate locations.

Updated JSON Schema support to the latest 2020‑12 draft.

Modified relative reference parsing for uri and url fields.

Revised file‑upload descriptions to consider new JSON Schema capabilities, introducing significant changes.

Retained the x‑oai and x‑oas prefix extensions defined by OpenAPI.

Explanations

Path parameter values cannot contain unescaped characters /, ?, or #.

Further explanation of where to use reference objects and JSON Schema references.

Unified usage when values are URLs/URIs.

Rewrote path item $ref handling to account for reference and component changes.

Corrected several examples.

Minor text changes to improve consistency and readability.

Updated the description of reference objects to clarify their behavior.

Enhanced the description of Schema objects to reflect the latest draft and default to https://spec.openapi.org/oas/3.1/dialect/base as the OAS dialect.

Renamed “Schema Vocabularies” to “Schema dialects”.

For the full release details, see OpenAPI Specification 3.1.0 on GitHub .

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JSON SchemaBackend DevelopmentOpenAPI3.1.0API Specification
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.