2018-06-12 18:07:47 +02:00
|
|
|
package v1
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/labstack/echo"
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2018-07-10 14:02:23 +02:00
|
|
|
// DeleteListItemByIDtemByID is the web handler to delete a list item
|
2018-06-12 18:07:47 +02:00
|
|
|
func DeleteListItemByIDtemByID(c echo.Context) error {
|
2018-06-13 13:45:22 +02:00
|
|
|
// swagger:operation DELETE /item/{itemID} lists deleteListItem
|
|
|
|
// ---
|
|
|
|
// summary: Deletes a list item
|
|
|
|
// consumes:
|
|
|
|
// - application/json
|
|
|
|
// produces:
|
|
|
|
// - application/json
|
|
|
|
// parameters:
|
|
|
|
// - name: itemID
|
|
|
|
// in: path
|
|
|
|
// description: ID of the list item to delete
|
|
|
|
// type: string
|
|
|
|
// required: true
|
|
|
|
// responses:
|
|
|
|
// "200":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
// "400":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
// "403":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
// "404":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
// "500":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
|
2018-07-11 11:44:17 +02:00
|
|
|
return echo.NewHTTPError(http.StatusNotImplemented)
|
2018-06-13 13:45:22 +02:00
|
|
|
}
|