@novice1/api-doc-generator - v2.0.1
Preparing search index...
generators/openapi/helpers/openAPIjsonHelper
OpenAPIJsonHelper
Class OpenAPIJsonHelper
JSON schema (draft-07) helper for @novice1/api-doc-generator
Hierarchy (
View Summary
)
BaseJsonHelper
OpenAPIJsonHelper
Implements
OpenAPIHelperInterface
Index
Constructors
constructor
Properties
_
is
Required
_
schema
Methods
allows
Empty
Value
get
Additional
Properties
get
Alternatives
get
Any
Of
get
Children
get
Default
Value
get
Description
get
Discriminator
get
Encoding
get
Enum
get
Examples
get
Example
Value
get
First
Item
get
Max
get
Meta
get
Min
get
Ref
get
Style
get
Type
get
Unit
get
Xml
has
Additional
Properties
has
Default
Value
has
Discriminator
has
Encoding
has
Examples
has
Example
Value
has
Max
has
Meta
has
Min
has
Ref
has
Style
has
Xml
is
Deprecated
is
Required
is
Unique
is
Valid
Constructors
constructor
new
OpenAPIJsonHelper
(
__namedParameters
:
{
isRoot
?:
boolean
;
value
?:
unknown
}
,
isRequired
?:
boolean
,
)
:
OpenAPIJsonHelper
Parameters
__namedParameters
:
{
isRoot
?:
boolean
;
value
?:
unknown
}
Optional
isRequired
:
boolean
Returns
OpenAPIJsonHelper
Properties
Protected
_
is
Required
_isRequired
:
boolean
= false
Protected
_
schema
_schema
:
object
Methods
allows
Empty
Value
allowsEmptyValue
()
:
boolean
Returns
boolean
get
Additional
Properties
getAdditionalProperties
()
:
AdditionalProperties
Returns
AdditionalProperties
get
Alternatives
getAlternatives
()
:
OpenAPIJsonHelper
[]
Returns
OpenAPIJsonHelper
[]
get
Any
Of
getAnyOf
()
:
SchemaObject
[]
Returns
SchemaObject
[]
get
Children
getChildren
()
:
Record
<
string
,
OpenAPIJsonHelper
>
Returns
Record
<
string
,
OpenAPIJsonHelper
>
get
Default
Value
getDefaultValue
()
:
unknown
Returns
unknown
get
Description
getDescription
()
:
string
Returns
string
get
Discriminator
getDiscriminator
()
:
DiscriminatorObject
|
undefined
Returns
DiscriminatorObject
|
undefined
get
Encoding
getEncoding
()
:
Record
<
string
,
EncodingObject
>
|
undefined
Returns
Record
<
string
,
EncodingObject
>
|
undefined
get
Enum
getEnum
()
:
unknown
[]
Returns
unknown
[]
get
Examples
getExamples
()
:
Record
<
string
,
ReferenceObject
|
ExampleObject
>
|
undefined
Returns
Record
<
string
,
ReferenceObject
|
ExampleObject
>
|
undefined
get
Example
Value
getExampleValue
()
:
unknown
Returns
unknown
get
First
Item
getFirstItem
()
:
OpenAPIJsonHelper
|
undefined
Returns
OpenAPIJsonHelper
|
undefined
get
Max
getMax
()
:
number
|
undefined
Returns
number
|
undefined
Protected
get
Meta
getMeta
(
v
:
string
)
:
unknown
Parameters
v
:
string
Returns
unknown
get
Min
getMin
()
:
number
|
undefined
Returns
number
|
undefined
get
Ref
getRef
()
:
string
|
undefined
Returns
string
|
undefined
get
Style
getStyle
()
:
string
Returns
string
get
Type
getType
()
:
string
Returns
string
get
Unit
getUnit
()
:
string
Returns
string
get
Xml
getXml
()
:
XMLObject
|
undefined
Returns
XMLObject
|
undefined
has
Additional
Properties
hasAdditionalProperties
()
:
boolean
Returns
boolean
has
Default
Value
hasDefaultValue
()
:
boolean
Returns
boolean
has
Discriminator
hasDiscriminator
()
:
boolean
Returns
boolean
has
Encoding
hasEncoding
()
:
boolean
Returns
boolean
has
Examples
hasExamples
()
:
boolean
Returns
boolean
has
Example
Value
hasExampleValue
()
:
boolean
Returns
boolean
has
Max
hasMax
()
:
boolean
Returns
boolean
Protected
has
Meta
hasMeta
(
v
:
string
)
:
boolean
Parameters
v
:
string
Returns
boolean
has
Min
hasMin
()
:
boolean
Returns
boolean
has
Ref
hasRef
()
:
boolean
Returns
boolean
has
Style
hasStyle
()
:
boolean
Returns
boolean
has
Xml
hasXml
()
:
boolean
Returns
boolean
is
Deprecated
isDeprecated
()
:
boolean
Returns
boolean
is
Required
isRequired
()
:
boolean
Returns
boolean
is
Unique
isUnique
()
:
boolean
Returns
boolean
is
Valid
isValid
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
is
Required
_
schema
Methods
allows
Empty
Value
get
Additional
Properties
get
Alternatives
get
Any
Of
get
Children
get
Default
Value
get
Description
get
Discriminator
get
Encoding
get
Enum
get
Examples
get
Example
Value
get
First
Item
get
Max
get
Meta
get
Min
get
Ref
get
Style
get
Type
get
Unit
get
Xml
has
Additional
Properties
has
Default
Value
has
Discriminator
has
Encoding
has
Examples
has
Example
Value
has
Max
has
Meta
has
Min
has
Ref
has
Style
has
Xml
is
Deprecated
is
Required
is
Unique
is
Valid
@novice1/api-doc-generator - v2.0.1
Loading...
JSON schema (draft-07) helper for @novice1/api-doc-generator