Add OpenAPI specification and generation command
This commit is contained in:
5
justfile
5
justfile
@@ -41,6 +41,11 @@ generate-entity:
|
||||
# delegate to cli
|
||||
just cli db:migrate_and_generate --output-path ../../public/database/src/generated/entities
|
||||
|
||||
generate-openapi:
|
||||
# delegate to cli
|
||||
cd apps/api && \
|
||||
cargo run -- generate:openapi --output-path ./swagger.json
|
||||
|
||||
build-frontend:
|
||||
# build frontend assets
|
||||
cd apps/frontend && \
|
||||
|
||||
Reference in New Issue
Block a user