KOVA · API documentation viewers
How to visualize kova-openapi.yaml
Three locally-hosted viewers ready right now — all load from the same
../kova-openapi.yaml via the existing
Python http server on port 8765. Pick whichever feels right; the underlying spec is identical.
1 · Local viewers (no install)
Swagger UI
Try-it-out interactive
The canonical Swagger experience. Expand every operation, edit request bodies, fire calls. Best for testing.
Redoc
Premium reading layout
Three-pane layout. Cleanest for reading, sharing with non-engineers, exporting as PDF. No try-it-out.
Stoplight Elements
Modern docs + sandbox
Reads well + has try-it-out. Lighter than Swagger UI, denser than Redoc. Good middle ground.
2 · Online (paste the YAML)
3 · VS Code extensions
4 · CLI / Docker (advanced)
These need a working toolchain (npm cache fix or Docker daemon up). If you got here, you already saw the
ECOMPROMISED error — these are the alternatives.
# Swagger UI watcher · auto-reloads on YAML change npx swagger-ui-watcher kova-openapi.yaml # Redoc as a static export npx @redocly/cli build-docs kova-openapi.yaml -o api-docs/redoc-build.html # Docker — start daemon first docker run --rm -p 8080:8080 \ -e SWAGGER_JSON=/spec/kova-openapi.yaml \ -v "$PWD":/spec swaggerapi/swagger-ui # Prism · mock server that fakes responses from the schemas docker run --init --rm -p 4010:4010 \ -v "$PWD":/spec stoplight/prism mock /spec/kova-openapi.yaml
5 · Generated TypeScript client (when codegen works)
# With Java + the npm wrapper installed (Java just finished installing!) .tools/node_modules/.bin/openapi-generator-cli generate \ -i kova-openapi.yaml \ -g typescript-fetch \ -o kova/api-client