Skip to content

Commit

Permalink
Update the Makefile to display swagger error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Aug 27, 2024
1 parent 399fed0 commit c776da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ cli:

swag swagger:
@echo -e '\t[CB-Spider] generating Swagger documentation'
@~/go/bin/swag i -g api-runtime/rest-runtime/CBSpiderRuntime.go -d ./,./cloud-control-manager -o api > /dev/null 2>&1
@~/go/bin/swag i -g api-runtime/rest-runtime/CBSpiderRuntime.go -d ./,./cloud-control-manager -o api > /dev/null
@sed -i -e 's/github_com_cloud-barista_cb-spider_cloud-control-manager_cloud-driver_interfaces_resources./spider./g' \
-e 's/restruntime./spider./g' ./api/docs.go ./api/swagger.json ./api/swagger.yaml

0 comments on commit c776da7

Please sign in to comment.