All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
- Unified merged identity selection across OpenAPI 2.0, OpenAPI 3.0.1, and Postman when multiple snippets map to the same path and method.
- Primary candidates are selected deterministically with success-first priority:
200,201,202,204, other2xx, then non-blanksummary, non-blankdescription, and lexicaloperationIdtie-break. - OpenAPI 2.0 and OpenAPI 3.0.1 use the same merged
operationIdderivation (common prefix across primary candidates, falling back to the top-priority candidate's ownoperationIdwhen no common prefix exists), and Postman top-level itemiduses the same merged ID rule. - Replaced the previous sorted-concatenation fallback (e.g.
firstsecond) with the top-priority candidate's ownoperationId, since concatenating unrelated identifiers produced unreadable, codegen-hostile names for the common case of multiple snippets legitimately documenting the same path and method. - Added test coverage for success-vs-error selection,
200over201priority, and no-common-prefix fallback behavior, plus README documentation.
- This feature can change generated identifiers for merged endpoints (
operationIdin OpenAPI 2.0/3.0.1 and itemidin Postman), which may require updates in generated clients and snapshot-based artifact comparisons. This includes endpoints that previously fell back to sorted concatenation, which now use the top-priority candidate's ownoperationIdinstead.
0.20.1 - 2026-04-20
- Declared
spring-boot-jackson2version aligned with Spring Boot version (#296).
0.20.0 - 2026-03-10
- Fixed Gradle plugin publish by using explicit dependency versions for plugin POM generation.
0.19.5 - 2025-06-16
- Updated Sonatype staging API endpoint configuration for publishing (#285).
0.19.4 - 2024-09-30
- Made classes in
restdocs-api-specvisible forrestassuredmodule usage (#273).
0.19.3 - 2024-05-06
- Enabled GitHub Actions workflows on
maintenance/**branches (#267).
0.19.2 - 2024-02-21
- Fixed null
Schemahandling (#260).
0.19.1 - 2024-02-14
- Kotlin formatting cleanup (#258).
0.19.0 - 2023-09-25
- Fixed regex extraction from pattern constraints (#247).
0.18.4 - 2023-09-04
- Applied
optionalasnullablein generated schemas (#245).
0.18.3 - 2023-08-25
- Applied field-level optionality handling in schema generation (#244).
0.17.1 - 2023-01-31
- Continued Spring REST Docs 3.x support line (see related support work in #225).
0.16.4 - 2023-01-05
- Made classes in
restdocs-api-specmodules visible (#223).
0.10.0 - 2020-09-16
- OpenAPI 3: derive merged
operationIdfrom common snippet name prefix (fallback to concatenation) (#141).
0.8.0 - 2019-01-12
- Added Postman collection generation support (#71).