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:
parent
c650868fe9
commit
8c5edd2c97
23 changed files with 66 additions and 41 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue