mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
refactor: move print_openapi_schema into main
This commit is contained in:
committed by
Andreas Köpf
parent
ea40a22049
commit
29b08875d4
@@ -8,7 +8,7 @@ MOCK_SERVER_PORT=8080
|
||||
OPENAPI_JSON_FILE_NAME=openapi.json
|
||||
|
||||
echo "Generating OpenAPI schema..."
|
||||
python -m print_openapi_schema > $OPENAPI_JSON_FILE_NAME
|
||||
python -m main --print-openapi-schema > $OPENAPI_JSON_FILE_NAME
|
||||
echo "Done!"
|
||||
|
||||
# If oasst-mock-backend docker container is already running,
|
||||
|
||||
Reference in New Issue
Block a user