mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fix typos in documentation
This commit is contained in:
parent
676c2073ba
commit
b880a911f3
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ func RegisterDashboardEndpoints(r *gin.RouterGroup) {
|
||||||
// @ID getDashboards
|
// @ID getDashboards
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Tags dashboards
|
// @Tags dashboards
|
||||||
// @Success 200 {object} docs.ResponseDashboards "Dashboards to which belong to scenario"
|
// @Success 200 {object} docs.ResponseDashboards "Dashboards which belong to scenario"
|
||||||
// @Failure 404 {object} docs.ResponseError "Not found"
|
// @Failure 404 {object} docs.ResponseError "Not found"
|
||||||
// @Failure 422 {object} docs.ResponseError "Unprocessable entity"
|
// @Failure 422 {object} docs.ResponseError "Unprocessable entity"
|
||||||
// @Failure 500 {object} docs.ResponseError "Internal server error"
|
// @Failure 500 {object} docs.ResponseError "Internal server error"
|
||||||
|
@ -56,7 +56,7 @@ func getDashboards(c *gin.Context) {
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Tags dashboards
|
// @Tags dashboards
|
||||||
// @Param inputDab body dashboard.validNewDashboard true "Dashboard to be added incl. ID of Scenario"
|
// @Param inputDab body dashboard.validNewDashboard true "Dashboard to be added incl. ID of Scenario"
|
||||||
// @Success 200 {object} docs.ResponseDashboard "Dashboards that was added"
|
// @Success 200 {object} docs.ResponseDashboard "Dashboard that was added"
|
||||||
// @Failure 400 {object} docs.ResponseError "Bad request"
|
// @Failure 400 {object} docs.ResponseError "Bad request"
|
||||||
// @Failure 404 {object} docs.ResponseError "Not found"
|
// @Failure 404 {object} docs.ResponseError "Not found"
|
||||||
// @Failure 422 {object} docs.ResponseError "Unprocessable entity"
|
// @Failure 422 {object} docs.ResponseError "Unprocessable entity"
|
||||||
|
|
Loading…
Add table
Reference in a new issue