Documentation ¶
Index ¶
- func ApiComponentSchemas(pkg *metadata.Package) []string
- func ApiParameters(s *metadata.Service) []string
- func ApiResponse(s *metadata.Service) []string
- func BindStringToSerializable(src, dst, attrName, attrType string) []string
- func BindToSerializable(src, dst, attrName, attrType string) []string
- func GroupByPath(pkg *metadata.Package) map[string][]*metadata.Service
- func HandlerTypes(s *metadata.Service) []string
- func HttpMethod(s *metadata.Service) string
- func HttpPath(s *metadata.Service) string
- func InputHttp(s *metadata.Service) []string
- func OutputHttp(s *metadata.Service) []string
- func RequestTypeAttributes(s *metadata.Service) []string
- func ResponseTypeAttributes(s *metadata.Service) []string
- type EditableOpenApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiComponentSchemas ¶ added in v0.0.3
func ApiParameters ¶
func ApiResponse ¶
func BindToSerializable ¶
func HandlerTypes ¶
func HttpMethod ¶
func OutputHttp ¶
func RequestTypeAttributes ¶ added in v0.1.3
func ResponseTypeAttributes ¶ added in v0.1.3
Types ¶
type EditableOpenApi ¶ added in v0.0.3
type EditableOpenApi struct { *metadata.Definition Info []string Tags []string UserDefinedPaths []string UserDefinedSchemas []string UserDefinedComponents []string ExtraDefinitions []string }
func LoadOpenApi ¶ added in v0.0.3
func LoadOpenApi(path string, append bool, def *metadata.Definition) (*EditableOpenApi, error)
Click to show internal directories.
Click to hide internal directories.