Documentation ¶
Index ¶
Constants ¶
View Source
const ( AscTypeArray = "[ ] " AscTypeObject = "{ } " AscTypeMap = "M<s>" AscTypeInt = "int " AscTypeBool = "bool" AscTypeString = "str " AscTypeEnum = "enum" )
View Source
const ( FlagFirst int = iota FlagMiddle FlagLast )
Variables ¶
This section is empty.
Functions ¶
func Components2AscTree ¶
Components2Proto : generate proto file from Parsed OpenAPI definition
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
Array : array of Prototype
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
Enum simple type or reference (by-name)
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map object, used to represents AdditionalProperties
type ObjectMembers ¶
type ObjectMembers struct {
// contains filtered or unexported fields
}
MessageMembers Message Field definition
type ProtoType ¶
ProtoType Field Type protocol buffer interface
func CreateType ¶
CreateType : convert OAS Schema to internal ProtoType
Click to show internal directories.
Click to hide internal directories.