Skip to content

Conversation

@siddahrta-max
Copy link
Collaborator

Add (experimental) support for OpenApi Spec generation for other Controller Types (Controller, PageController, RestController). This is done by the generate_openapi_specs Attribute Macro.

This checks the desired functions (Controller::handle ; PageController::get, PageController::post ; RestController::get, RestController::list, RestController::delete, RestController::put, RestController::patch) for method calls of the Response struct and creates OpenApi Specs for them.
This feature should be seen as experimental.

The example/openapi as well as rwf-tests includes usage samples.

@siddahrta-max siddahrta-max merged commit 3eac851 into main Jan 11, 2026
3 checks passed
@siddahrta-max siddahrta-max deleted the openapi branch January 11, 2026 13:52
@siddahrta-max siddahrta-max restored the openapi branch January 11, 2026 16:33
@siddahrta-max siddahrta-max deleted the openapi branch January 11, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants