enum ReferenceType
cangjie
public enum ReferenceType <: Equatable<ReferenceType> & ToString功能:表示 OpenAPI 引用类型。
父类型:
- Equatable<ReferenceType>
ToString
成员概览
| 成员 | 功能 |
|---|---|
| Tag | 表示标签引用类型。 |
| Link | - |
| Schema | - |
| func ==(ReferenceType) | 比较两个引用类型是否相等。 |
| func toString() | 返回引用类型对应的名称。 |
Tag
cangjie
Tag功能:表示标签引用类型。
Link
cangjie
LinkSchema
cangjie
Schemafunc ==(ReferenceType)
cangjie
public operator func ==(that: ReferenceType): Bool功能:比较两个引用类型是否相等。
参数:
- that: ReferenceType - 要比较的引用类型。
返回值:
Bool- 如果两个引用类型相等则返回true。
func toString()
cangjie
public func toString(): String功能:返回引用类型对应的名称。
返回值:
String- 当前引用类型对应的名称字符串。