mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-25 14:59:21 +01:00
Improve swagger generation (#370)
* Improve swagger generation These issues are causing ogen-api to fail after I used the swagger converter. * Specify multipart/form-data routes Operations with parameters of "type: file" must include "multipart/form-data" in their "consumes" property * Fix example usage * fixup! Specify multipart/form-data routes * Fix final validation errors
This commit is contained in:
@@ -86,7 +86,6 @@ func (ctrl *V1Controller) HandleUpdateNotifier() errchain.HandlerFunc {
|
||||
// @Summary Test Notifier
|
||||
// @Tags Notifiers
|
||||
// @Produce json
|
||||
// @Param id path string true "Notifier ID"
|
||||
// @Param url query string true "URL"
|
||||
// @Success 204
|
||||
// @Router /v1/notifiers/test [POST]
|
||||
|
||||
Reference in New Issue
Block a user