1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-09 07:45:22 +02:00

fix(docs): add missing swagger docs for upload file [EE-4886] (#8708)

* add docs for uploading files via host management features

* fix other doc issues
This commit is contained in:
Matt Hook 2023-04-04 16:59:34 +12:00 committed by GitHub
parent c650868fe9
commit 8c5edd2c97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 66 additions and 41 deletions

View file

@ -20,7 +20,7 @@
"build": "grunt clean:all && grunt build",
"build:server": "grunt clean:server && grunt build:server",
"build:client": "grunt clean:client && grunt build:client",
"prebuild:docs": "go install github.com/swaggo/swag/cmd/swag@v1.7.1",
"prebuild:docs": "go install github.com/swaggo/swag/cmd/swag@v1.8.11",
"build:docs": "cd api && swag init -g ./http/handler/handler.go --parseDependency --parseInternal --parseDepth 2 --markdownFiles ./",
"validate:docs": "swagger2openapi --warnOnly api/docs/swagger.yaml -o api/docs/openapi.yaml && swagger-cli validate api/docs/openapi.yaml",
"clean": "grunt clean:all",