-
Notifications
You must be signed in to change notification settings - Fork 34
/
aspida.config.js
72 lines (72 loc) · 1.69 KB
/
aspida.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module.exports = [
{
input: 'samples/swagger',
outputEachDir: true,
openapi: { inputFile: 'samples/swagger.yaml' },
},
{
input: 'samples/simple',
outputEachDir: true,
openapi: { inputFile: 'samples/simple.yaml' },
},
{
input: 'samples/strapi',
outputEachDir: true,
openapi: { inputFile: 'samples/strapi.json' },
},
{
input: 'samples/freee',
outputEachDir: true,
openapi: { inputFile: 'samples/freee.json' },
},
{
input: 'samples/openapi',
outputEachDir: true,
openapi: { inputFile: 'samples/openapi.json', yaml: false },
},
{
input: 'samples/externals',
outputEachDir: true,
openapi: { inputFile: 'samples/externals.json', yaml: false },
},
{
input: 'samples/nullable-object',
outputEachDir: true,
openapi: { inputFile: 'samples/nullable-object.yml' },
},
{
input: 'samples/array-one-of',
outputEachDir: true,
openapi: { inputFile: 'samples/array-one-of.yml' },
},
{
input: 'samples/request-bodies',
outputEachDir: true,
openapi: { inputFile: 'samples/request-bodies.yml' },
},
{
input: 'samples/responses',
outputEachDir: true,
openapi: { inputFile: 'samples/responses.yml' },
},
{
input: 'samples/path',
outputEachDir: true,
openapi: { inputFile: 'samples/path.yml' },
},
{
input: 'samples/headers',
outputEachDir: true,
openapi: { inputFile: 'samples/headers.yml' },
},
{
input: 'samples/allOf-required',
outputEachDir: true,
openapi: { inputFile: 'samples/allOf-required.yml' },
},
// {
// input: 'samples/path-at-mark',
// outputEachDir: true,
// openapi: { inputFile: 'samples/path-at-mark.yml' }
// }
];