mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
feat(swagger): update (#1929)
This commit is contained in:
parent
93702e39d4
commit
92fbdfd06f
3 changed files with 12 additions and 12 deletions
|
@ -11,12 +11,12 @@ const docTemplate = `{
|
|||
"description": "{{escape .Description}}",
|
||||
"title": "{{.Title}}",
|
||||
"contact": {
|
||||
"name": "OpenAI Support",
|
||||
"url": "https://help.openai.com/"
|
||||
"name": "LocalAI",
|
||||
"url": "https://localai.io"
|
||||
},
|
||||
"license": {
|
||||
"name": "MIT",
|
||||
"url": "https://github.com/openai/openai-openapi/blob/master/LICENSE"
|
||||
"url": "https://raw.githubusercontent.com/mudler/LocalAI/master/LICENSE"
|
||||
},
|
||||
"version": "{{.Version}}"
|
||||
},
|
||||
|
@ -789,7 +789,7 @@ var SwaggerInfo = &swag.Spec{
|
|||
BasePath: "/",
|
||||
Schemes: []string{},
|
||||
Title: "LocalAI API",
|
||||
Description: "The OpenAI REST API.",
|
||||
Description: "The LocalAI Rest API.",
|
||||
InfoInstanceName: "swagger",
|
||||
SwaggerTemplate: docTemplate,
|
||||
LeftDelim: "{{",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue