Introducer swagger typescript api (#2704)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2023-03-17 08:57:45 -07:00
committed by GitHub
parent ad0591ec17
commit 8b1b2b1e2d
21 changed files with 5531 additions and 377 deletions

View File

@@ -53,6 +53,8 @@ clean-swagger:
swagger-console:
@echo "Generating swagger server code from yaml"
@swagger generate server -A console --main-package=management --server-package=restapi --exclude-main -P models.Principal -f ./swagger.yml -r NOTICE
@echo "Generating typescript api"
@npx swagger-typescript-api -p ./swagger.yml -o ./portal-ui/src/api -n consoleApi.ts
assets: