UNPKG
swagger-to-mock
Version:
latest (0.1.12)
0.1.12
0.1.10
0.1.9
0.1.8
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
mock data generator from Swagger (OpenAPI 3)
github.com/yayoc/swagger-to-mock
yayoc/swagger-to-mock
swagger-to-mock
/
dist
/
util.d.ts
6 lines
(5 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
const
getSchemaName
:
(
ref
:
string
) =>
string
|
null
;
export
declare
const
normalizePath
:
(
path
:
string
) =>
string
;
export
declare
const
writeFiles
:
(
data
: { [file:
string
]:
any
; },
outputPath
:
string
,
log
: (message:
any
) =>
void
) =>
void
;