Methods
generateFakeData
- generateFakeData(field: string, type: string, values?: string[]): string | number | boolean
-
Parameters
-
field: string
-
type: string
-
Optional values: string[]
Returns string
|
number
|
boolean
fake data
generateId
- generateId(type: string): number | string
-
Parameters
Returns number
|
string
random id
parseRamlValue
- parseRamlValue(value: string, type: string): number | string | boolean
-
Parameters
-
value: string
-
type: string
Returns number
|
string
|
boolean
parsed value
Class which holds helper tools when working with ramls.
RamlUtil