Swagger
Interactive OpenAPI explorer. Loads the aggregated document from /services/openapi and renders Swagger UI. Try-it-out calls hit the running JVM.
The aggregate includes:
- TypeScript
*Controller.tsfragments (engine-openapi). - Java
@Controllerfragments published byJavaControllerOpenApiPublisheratjava-controller://<project>::<fqn>. - Classic JAX-RS endpoints registered through the platform.
Refreshing
The view re-fetches /services/openapi on open and on explicit reload. After publishing a new controller (TS or Java), reload the view to see the new path group.
If a controller you just published is missing:
- Confirm the project published (Registry view).
- For Java controllers, check that
JavaSynchronizercompleted without compilation errors (Problems view, server log). - For TS controllers, confirm the
*Controller.tsfile ran through the synchronizer.
Authentication
Try-it-out uses the same session as the IDE. Anonymous mode is honoured. @Roles checks are enforced server-side - a 403 from try-it-out means the current user lacks the role, not that the route is broken.
Related
- REST in Java
- REST in TypeScript
- HTTP roots:
/swagger-ui/index.html,/api-docs - API:
@aerokit/sdk/http