fix typos in documentation

This commit is contained in:
Sonja Happ 2019-09-06 16:00:05 +02:00
parent 676c2073ba
commit b880a911f3

View file

@ -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"