-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpropertiesConfig.js
More file actions
50 lines (48 loc) · 936 Bytes
/
propertiesConfig.js
File metadata and controls
50 lines (48 loc) · 936 Bytes
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
const modelConfig = {
modelName: 'modelName',
openapi: 'dbVersion',
termsOfService: 'termsOfService',
info: 'info',
jsonSchemaDialect: 'jsonSchemaDialect',
servers: 'servers',
security: 'security',
tags: [
{
name: 'tagName',
description: 'tagDescription',
externalDocs: {
description: 'tagExternalDocsDescription',
url: 'tagExternalDocsUrl',
},
},
],
externalDocs: {
description: 'externalDocsDescription',
url: 'externalDocsUrl',
},
scopesExtensions: 'scopesExtensions',
};
const entityConfig = {
request: {
tags: ['tag'],
summary: 'summary',
description: 'description',
externalDocs: [
{
description: 'externalDocsDescription',
url: 'externalDocsUrl',
},
],
operationId: 'operationId',
deprecated: 'deprecated',
security: 'security',
servers: 'servers',
},
response: {
description: 'description',
},
};
module.exports = {
modelConfig,
entityConfig,
};