oc-catalog update
This commit is contained in:
@@ -128,7 +128,7 @@ func (o *ComputeController) Delete() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search[get]
|
||||
func (o *ComputeController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
@@ -129,7 +129,7 @@ func (o *DataController) Delete() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search[get]
|
||||
func (o *DataController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
@@ -128,7 +128,7 @@ func (o *ProcessingController) Delete() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search[get]
|
||||
func (o *ProcessingController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
@@ -92,7 +92,7 @@ func (o *ResourceController) Get() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search [get]
|
||||
func (o *ResourceController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
@@ -128,7 +128,7 @@ func (o *StorageController) Delete() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search[get]
|
||||
func (o *StorageController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
@@ -95,7 +95,7 @@ func (o *WorkflowController) Search() {
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Param is_draft query string false "draft wished"
|
||||
// @Success 200 {workflow} models.workflow
|
||||
// @router /search/:search/decentralized/:type [get]
|
||||
// @router /decentralized/:type/search/:search[get]
|
||||
func (o *WorkflowController) SearchDecentralized() {
|
||||
user, _, _ := oclib.ExtractTokenInfo(*o.Ctx.Request)
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
|
||||
Reference in New Issue
Block a user