Skip to content

Commit f1e7937

Browse files
committed
docs: Note README updates in extra-handlers design
1 parent 5ba93fb commit f1e7937

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/superpowers/specs/2026-05-12-extra-handlers-design.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ Integration tests (additions, in a new `OpenApiServerBuilderIT` or extending `Op
122122
- Extra path equal to `spec.basePath()``IllegalStateException` from `build()` with a message naming both paths.
123123
- Existing `OpenApiServer` constructors still work (back-compat smoke test).
124124

125+
### Documentation
126+
127+
Update `README.md`:
128+
129+
- Replace the existing constructor example (around line 86) with the new builder form.
130+
- Add a short subsection showing `addHandler` with `Handlers.aliveHandler()` and `Handlers.specHandler(...)`, and noting that extra handlers bypass OpenAPI validation but still flow through the configured `ExceptionHandler`.
131+
- Mention that the original constructors remain for back-compat.
132+
125133
## Out of scope
126134

127135
- HTTP method-aware routing for extras beyond what the helpers implement.

0 commit comments

Comments
 (0)