mirror of
https://codeberg.org/aryak/mozhi
synced 2025-06-04 00:41:07 +05:30
update swaggo docs
This commit is contained in:
29
docs/docs.go
29
docs/docs.go
@@ -1,4 +1,5 @@
|
||||
// Package docs Code generated by swaggo/swag. DO NOT EDIT
|
||||
// Code generated by swaggo/swag. DO NOT EDIT.
|
||||
|
||||
package docs
|
||||
|
||||
import "github.com/swaggo/swag"
|
||||
@@ -168,6 +169,12 @@ const docTemplate = `{
|
||||
},
|
||||
"translated-text": {
|
||||
"type": "string"
|
||||
},
|
||||
"word_choices": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/libmozhi.WordChoices"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -181,6 +188,26 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"libmozhi.WordChoices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"examples_source": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"examples_target": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"word": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`
|
||||
|
@@ -157,6 +157,12 @@
|
||||
},
|
||||
"translated-text": {
|
||||
"type": "string"
|
||||
},
|
||||
"word_choices": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/libmozhi.WordChoices"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -170,6 +176,26 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"libmozhi.WordChoices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"examples_source": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"examples_target": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"word": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -11,6 +11,10 @@ definitions:
|
||||
type: string
|
||||
translated-text:
|
||||
type: string
|
||||
word_choices:
|
||||
items:
|
||||
$ref: '#/definitions/libmozhi.WordChoices'
|
||||
type: array
|
||||
type: object
|
||||
libmozhi.List:
|
||||
properties:
|
||||
@@ -19,6 +23,19 @@ definitions:
|
||||
name:
|
||||
type: string
|
||||
type: object
|
||||
libmozhi.WordChoices:
|
||||
properties:
|
||||
examples_source:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
examples_target:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
word:
|
||||
type: string
|
||||
type: object
|
||||
info:
|
||||
contact: {}
|
||||
paths:
|
||||
|
Reference in New Issue
Block a user