# Functions
swagger:operation DELETE /recipes/{id} recipes deleteRecipe Delete an existing recipe --- produces: - application/json parameters: - name: id in: path description: ID of the recipe required: true type: string responses: '200': description: Successful operation '404': description: Invalid recipe ID.
swagger:operation GET /recipes/{id} recipes oneRecipe Get one recipe --- produces: - application/json parameters: - name: id in: path description: ID of the recipe required: true type: string responses: '200': description: Successful operation '404': description: Invalid recipe ID.
swagger:operation GET /recipes recipes listRecipes Returns list of recipes --- produces: - application/json responses: '200': description: Successful operation.
swagger:operation POST /recipes recipes newRecipe Create a new recipe --- produces: - application/json responses: '200': description: Successful operation '400': description: Invalid input.
swagger:operation GET /recipes/search recipes findRecipe Search recipes based on tags --- produces: - application/json parameters: - name: tag in: query description: recipe tag required: true type: string responses: '200': description: Successful operation.
swagger:operation PUT /recipes/{id} recipes updateRecipe Update an existing recipe --- parameters: - name: id in: path description: ID of the recipe required: true type: string produces: - application/json responses: '200': description: Successful operation '400': description: Invalid input '404': description: Invalid recipe ID.