123456789101112131415161718192021222324 |
- // 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
|