Skip to content

enum ReferenceType

cangjie
public enum ReferenceType <: Equatable<ReferenceType> & ToString

功能:表示 OpenAPI 引用类型。

父类型:

成员概览

成员功能
Tag表示标签引用类型。
Link-
Schema-
func ==(ReferenceType)比较两个引用类型是否相等。
func toString()返回引用类型对应的名称。

Tag

cangjie
Tag

功能:表示标签引用类型。

cangjie
Link

Schema

cangjie
Schema

func ==(ReferenceType)

cangjie
public operator func ==(that: ReferenceType): Bool

功能:比较两个引用类型是否相等。

参数:

返回值:

  • Bool - 如果两个引用类型相等则返回 true

func toString()

cangjie
public func toString(): String

功能:返回引用类型对应的名称。

返回值:

  • String - 当前引用类型对应的名称字符串。