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
/
compose.d.ts
8 lines
(7 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
ResponsesType
}
from
"./response"
;
import
{
Schemas
}
from
"./schema"
;
declare
type
MockData
= { [
path
:
string
]:
any
; };
export
declare
const
composeMockData
:
(
responses
:
ResponsesType
,
schemas
:
Schemas
) =>
MockData
;
export
{};