MSP-1021 update docs

This commit is contained in:
novikovmu committed 2022-09-22 17:55:39 +03:00
1 parent 78552235fe
commit cbe07c49dd
2 files changed
+25 -31

No files matched your search

+16 -21
View File
@@ -1,12 +1,8 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2021-03-02 15:27:22.602367553 +0300 MSK m=+31.469395847
// Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag
package docs
import (
"github.com/integration-system/isp-lib/v2/docs"
)
import "github.com/integration-system/isp-lib/v2/docs"
var doc = `{
"schemes": {{ marshal .Schemes }},
@@ -168,7 +164,7 @@ var doc = `{
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/structure.GrpcError"
"$ref": "#/definitions/domain.GrpcError"
}
}
}
@@ -232,19 +228,7 @@ var doc = `{
}
}
},
"domain.ScriptResp": {
"type": "object",
"properties": {
"error": {
"type": "object",
"$ref": "#/definitions/domain.Error"
},
"result": {
"type": "object"
}
}
},
"structure.GrpcError": {
"domain.GrpcError": {
"type": "object",
"properties": {
"details": {
@@ -260,6 +244,17 @@ var doc = `{
"type": "string"
}
}
},
"domain.ScriptResp": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/domain.Error"
},
"result": {
"type": "object"
}
}
}
}
}`
+9 -10
View File
@@ -36,15 +36,7 @@ definitions:
required:
- script
type: object
domain.ScriptResp:
properties:
error:
$ref: '#/definitions/domain.Error'
type: object
result:
type: object
type: object
structure.GrpcError:
domain.GrpcError:
properties:
details:
items:
@@ -55,6 +47,13 @@ definitions:
errorMessage:
type: string
type: object
domain.ScriptResp:
properties:
error:
$ref: '#/definitions/domain.Error'
result:
type: object
type: object
host: localhost:9000
info:
contact: {}
@@ -159,7 +158,7 @@ paths:
"404":
description: Not Found
schema:
$ref: '#/definitions/structure.GrpcError'
$ref: '#/definitions/domain.GrpcError'
summary: Выполнить скрипт под конкретным ID
tags:
- script