Search
Preparing search index...
The search index is not available
Swagger generator API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swagger generator API
SourceFileProperty
Class SourceFileProperty
Hierarchy
SourceFileProperty
Implements
SourceFilePropertyImpl
Index
Constructors
constructor
Properties
name
property
source
File
Accessors
description
format
in
ref
required
type
Methods
is
Generic
create
Constructors
Private
constructor
new
Source
File
Property
(
sourceFile
:
SourceFile
, name
:
string
, property
:
SwaggerDefinitionProperty
|
SwaggerPathMethodParameter
)
:
SourceFileProperty
constructor
Parameters
sourceFile:
SourceFile
所属文件
name:
string
名称
property:
SwaggerDefinitionProperty
|
SwaggerPathMethodParameter
SwaggerDefinitionProperty
Returns
SourceFileProperty
Properties
Readonly
name
name
:
string
Readonly
property
property
:
SwaggerDefinitionProperty
|
SwaggerPathMethodParameter
Readonly
source
File
source
File
:
SourceFile
Accessors
description
get
description
(
)
:
undefined
|
string
获取描述
Returns
undefined
|
string
format
get
format
(
)
:
undefined
|
string
获取格式
Returns
undefined
|
string
in
get
in
(
)
:
undefined
|
string
获取in
Returns
undefined
|
string
ref
get
ref
(
)
:
undefined
|
string
外部依赖
Returns
undefined
|
string
required
get
required
(
)
:
undefined
|
boolean
是否required
Returns
undefined
|
boolean
type
get
type
(
)
:
undefined
|
string
数据类型
Returns
undefined
|
string
Methods
is
Generic
is
Generic
(
)
:
boolean
检测当前成员是否为泛型参数
Returns
boolean
Static
create
create
(
option
:
SourceFilePropertyImpl
)
:
SourceFileProperty
创建成员
Parameters
option:
SourceFilePropertyImpl
Returns
SourceFileProperty
Exports
Source
File
Property
constructor
name
property
source
File
description
format
in
ref
required
type
is
Generic
create
constructor