Search
Preparing search index...
The search index is not available
RAML JS Parser 2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/raml1/ast.core/linter"
ExampleAndDefaultValueValidator
Class ExampleAndDefaultValueValidator
validates examples
Hierarchy
ExampleAndDefaultValueValidator
Implements
PropertyValidator
Index
Methods
aquire
Schema
find
Parent
Schema
OrType
Attribute
get
Schema
From
Model
is
Example
Node
is
Example
Node
InMultiple
Decl
is
Single
Example
Node
is
Strict
parse
Object
test
Dublication
to
Object
type
Validator
validate
Methods
aquire
Schema
aquire
Schema
(
node
:
IAttribute
)
:
IShema
Parameters
node:
IAttribute
Returns
IShema
Private
find
Parent
Schema
OrType
Attribute
find
Parent
Schema
OrType
Attribute
(
node
:
IAttribute
)
:
IAttribute
Parameters
node:
IAttribute
Returns
IAttribute
get
Schema
From
Model
get
Schema
From
Model
(
node
:
IAttribute
)
:
IShema
Parameters
node:
IAttribute
Returns
IShema
Private
is
Example
Node
is
Example
Node
(
node
:
IAttribute
)
:
boolean
Parameters
node:
IAttribute
Returns
boolean
Private
is
Example
Node
InMultiple
Decl
is
Example
Node
InMultiple
Decl
(
node
:
IAttribute
)
:
boolean
Parameters
node:
IAttribute
Returns
boolean
Private
is
Single
Example
Node
is
Single
Example
Node
(
node
:
IAttribute
)
:
boolean
Parameters
node:
IAttribute
Returns
boolean
Private
is
Strict
is
Strict
(
node
:
IAttribute
)
:
boolean
Parameters
node:
IAttribute
Returns
boolean
parse
Object
parse
Object
(
node
:
IAttribute
, cb
:
ValidationAcceptor
, strictValidation
:
boolean
)
:
any
Parameters
node:
IAttribute
cb:
ValidationAcceptor
strictValidation:
boolean
Returns
any
test
Dublication
test
Dublication
(
h
:
IAttribute
, v
:
ILowLevelASTNode
, cb
:
ValidationAcceptor
)
:
void
Parameters
h:
IAttribute
v:
ILowLevelASTNode
cb:
ValidationAcceptor
Returns
void
to
Object
to
Object
(
h
:
IAttribute
, v
:
StructuredValue
, cb
:
ValidationAcceptor
)
:
any
Parameters
h:
IAttribute
v:
StructuredValue
cb:
ValidationAcceptor
Returns
any
Private
type
Validator
type
Validator
(
p
:
IHighLevelNode
, node
:
IAttribute
)
:
object
Parameters
p:
IHighLevelNode
node:
IAttribute
Returns
object
validate
:
function
validate
(
pObje
:
any
, cb
:
ValidationAcceptor
, strict
:
boolean
)
:
void
Parameters
pObje:
any
cb:
ValidationAcceptor
strict:
boolean
Returns
void
validate
validate
(
node
:
IAttribute
, cb
:
ValidationAcceptor
)
:
void
Parameters
node:
IAttribute
cb:
ValidationAcceptor
Returns
void
Globals
"src/raml1/ast.core/linter"
Example
And
Default
Value
Validator
aquire
Schema
find
Parent
Schema
OrType
Attribute
get
Schema
From
Model
is
Example
Node
is
Example
Node
InMultiple
Decl
is
Single
Example
Node
is
Strict
parse
Object
test
Dublication
to
Object
type
Validator
validate
Generated using
TypeDoc
validates examples