/
githubmirror
/
GoFrame
Обзор
Документация
Войти
/
githubmirror
/
GoFrame
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
net/goai/goai_server.go
24 строки
891 B
John Guo
move package goai from protocol to net
24 май 2022, 13:53
24 май 2022, 13:53
ea79b3c
Код
Авторство
О чём код?
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. package goai // Server is specified by OpenAPI/Swagger standard version 3.0. type Server struct { URL string `json:"url"` Description string `json:"description,omitempty"` Variables map[string]*ServerVariable `json:"variables,omitempty"` } // ServerVariable is specified by OpenAPI/Swagger standard version 3.0. type ServerVariable struct { Enum []string `json:"enum,omitempty"` Default string `json:"default,omitempty"` Description string `json:"description,omitempty"` } // Servers is specified by OpenAPI/Swagger standard version 3.0. type Servers []Server