OneAPI.app generates OpenAPI 3.0 documentation straight from your Java source via AST analysis. No @Operation annotations, no Spring coupling, no booting your services. Code is the documentation.
$ oneapi analysis -p ./spring-boot-demo -o . ✅ OneAPI Schema parsed (8s): ./oneapi.json $ oneapi openapi -s ./oneapi.json -o . ✅ openapi.json generated (OpenAPI 3.0) $ oneapi service -s ./oneapi.json -r 'import request from "@/utils/request";' -o . ✅ Frontend services generated: ./services
Drop-in replacement for Swagger and springdoc-openapi. You don't touch a line of business code and add zero annotations. Point OneAPI at your project and get docs.
Docs are derived directly from your Java source and Javadoc. What compiles is what gets documented — no drift, no separate spec to maintain.
The same oneapi.json schema drives both backend OpenAPI output and frontend service code (TypeScript). Pipe it into UmiJS, Postman, or your own tooling.
oneapi analysis parses your Java project (and decompiles JARs for third-party types) into oneapi.json.
oneapi analysis -p <project> -o <dir>oneapi openapi emits an OpenAPI 3.0 file you can import anywhere.
oneapi openapi -s oneapi.json -o <dir>oneapi service produces typed TypeScript service functions from the same schema.
oneapi service -s oneapi.json -r '<request import>' -o <dir>Install the CLI and point it at any Spring Boot project — no annotations required.
Get started