feat(chat): added base for chat service
added front html nigel in the mud route function with openapi - gen clean up the code a little after pull request
This commit is contained in:
parent
73a4946d17
commit
9ce9fa44e4
122 changed files with 9354 additions and 2615 deletions
7
Makefile
7
Makefile
|
|
@ -123,11 +123,14 @@ npm@build:
|
|||
npm@update:
|
||||
(cd ./src/ && rm -rf ./src/node_modules/ && npx pnpm update -r --workspace)
|
||||
|
||||
npm@openapi:
|
||||
npm@openapi: openapi.jar
|
||||
@(cd ./src/ && npx pnpm run --if-present -r build:openapi)
|
||||
@rm -f ./src/openapi.json
|
||||
@(cd ./src/ && npx pnpm exec redocly join --without-x-tag-groups)
|
||||
@(cd ./src/ && npx pnpm exec openapi-generator-cli generate -t ../openapi-template -g typescript-fetch -i openapi.json -o ../frontend/src/api/generated);
|
||||
@(cd ./src/ && java -jar ../openapi.jar generate -t ../openapi-template -g typescript-fetch -i openapi.json -o ../frontend/src/api/generated);
|
||||
|
||||
openapi.jar:
|
||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.15.0/openapi-generator-cli-7.15.0.jar -O ./openapi.jar
|
||||
|
||||
# this convert the .dbml file to an actual sql file that SQLite can handle :)
|
||||
sql:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue