mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
25 lines
1018 B
Go
25 lines
1018 B
Go
// 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
|
|
|
|
// Components is specified by OpenAPI/Swagger standard version 3.0.
|
|
type Components struct {
|
|
Schemas Schemas `json:"schemas,omitempty"`
|
|
Parameters ParametersMap `json:"parameters,omitempty"`
|
|
Headers Headers `json:"headers,omitempty"`
|
|
RequestBodies RequestBodies `json:"requestBodies,omitempty"`
|
|
Responses Responses `json:"responses,omitempty"`
|
|
SecuritySchemes SecuritySchemes `json:"securitySchemes,omitempty"`
|
|
Examples Examples `json:"examples,omitempty"`
|
|
Links Links `json:"links,omitempty"`
|
|
Callbacks Callbacks `json:"callbacks,omitempty"`
|
|
}
|
|
|
|
type ParametersMap map[string]*ParameterRef
|
|
|
|
type RequestBodies map[string]*RequestBodyRef
|