forked from dotnet/dev-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapispecgeneratorplugin.schema.json
More file actions
36 lines (36 loc) · 1.11 KB
/
openapispecgeneratorplugin.schema.json
File metadata and controls
36 lines (36 loc) · 1.11 KB
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy OpenApiSpecGeneratorPlugin config schema",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"description": "The JSON schema reference for validation."
},
"includeOptionsRequests": {
"type": "boolean",
"description": "Determines whether to include OPTIONS requests in the generated OpenAPI spec. Default: false."
},
"ignoreResponseTypes": {
"type": "boolean",
"description": "Determines whether to ignore response types in the generated OpenAPI spec. Default: false."
},
"specVersion": {
"type": "string",
"enum": [
"v2_0",
"v3_0"
],
"description": "Specifies the OpenAPI spec version to generate. Allowed values: 'v2_0' or 'v3_0'. Default: 'v3_0'."
},
"specFormat": {
"type": "string",
"enum": [
"Json",
"Yaml"
],
"description": "Specifies the format of the generated OpenAPI spec. Allowed values: 'Json' or 'Yaml'. Default: 'Json'."
}
},
"additionalProperties": false
}