Skip to content

Commit 705dad9

Browse files
authored
Merge pull request #55 from appwrite/feat-1.9.x-specs
feat: API specs update for version 1.9.x
2 parents 8cecdb1 + f225c33 commit 705dad9

2 files changed

Lines changed: 52 additions & 10 deletions

File tree

specs/1.9.x/open-api3-1.9.x-console.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66367,7 +66367,14 @@
6636766367
{
6636866368
"$ref": "#\/components\/schemas\/providerRepositoryFrameworkList"
6636966369
}
66370-
]
66370+
],
66371+
"discriminator": {
66372+
"propertyName": "type",
66373+
"mapping": {
66374+
"runtime": "#\/components\/schemas\/providerRepositoryRuntimeList",
66375+
"framework": "#\/components\/schemas\/providerRepositoryFrameworkList"
66376+
}
66377+
}
6637166378
}
6637266379
}
6637366380
}
@@ -71417,15 +71424,22 @@
7141771424
"$ref": "#\/components\/schemas\/providerRepositoryFramework"
7141871425
},
7141971426
"x-example": ""
71427+
},
71428+
"type": {
71429+
"type": "string",
71430+
"description": "Provider repository list type.",
71431+
"x-example": "framework"
7142071432
}
7142171433
},
7142271434
"required": [
7142371435
"total",
71424-
"frameworkProviderRepositories"
71436+
"frameworkProviderRepositories",
71437+
"type"
7142571438
],
7142671439
"example": {
7142771440
"total": 5,
71428-
"frameworkProviderRepositories": ""
71441+
"frameworkProviderRepositories": "",
71442+
"type": "framework"
7142971443
}
7143071444
},
7143171445
"providerRepositoryRuntimeList": {
@@ -71445,15 +71459,22 @@
7144571459
"$ref": "#\/components\/schemas\/providerRepositoryRuntime"
7144671460
},
7144771461
"x-example": ""
71462+
},
71463+
"type": {
71464+
"type": "string",
71465+
"description": "Provider repository list type.",
71466+
"x-example": "runtime"
7144871467
}
7144971468
},
7145071469
"required": [
7145171470
"total",
71452-
"runtimeProviderRepositories"
71471+
"runtimeProviderRepositories",
71472+
"type"
7145371473
],
7145471474
"example": {
7145571475
"total": 5,
71456-
"runtimeProviderRepositories": ""
71476+
"runtimeProviderRepositories": "",
71477+
"type": "runtime"
7145771478
}
7145871479
},
7145971480
"branchList": {

specs/1.9.x/swagger2-1.9.x-console.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66180,7 +66180,14 @@
6618066180
{
6618166181
"$ref": "#\/definitions\/providerRepositoryFrameworkList"
6618266182
}
66183-
]
66183+
],
66184+
"x-discriminator": {
66185+
"propertyName": "type",
66186+
"mapping": {
66187+
"runtime": "#\/definitions\/providerRepositoryRuntimeList",
66188+
"framework": "#\/definitions\/providerRepositoryFrameworkList"
66189+
}
66190+
}
6618466191
}
6618566192
}
6618666193
},
@@ -71123,15 +71130,22 @@
7112371130
"$ref": "#\/definitions\/providerRepositoryFramework"
7112471131
},
7112571132
"x-example": ""
71133+
},
71134+
"type": {
71135+
"type": "string",
71136+
"description": "Provider repository list type.",
71137+
"x-example": "framework"
7112671138
}
7112771139
},
7112871140
"required": [
7112971141
"total",
71130-
"frameworkProviderRepositories"
71142+
"frameworkProviderRepositories",
71143+
"type"
7113171144
],
7113271145
"example": {
7113371146
"total": 5,
71134-
"frameworkProviderRepositories": ""
71147+
"frameworkProviderRepositories": "",
71148+
"type": "framework"
7113571149
}
7113671150
},
7113771151
"providerRepositoryRuntimeList": {
@@ -71152,15 +71166,22 @@
7115271166
"$ref": "#\/definitions\/providerRepositoryRuntime"
7115371167
},
7115471168
"x-example": ""
71169+
},
71170+
"type": {
71171+
"type": "string",
71172+
"description": "Provider repository list type.",
71173+
"x-example": "runtime"
7115571174
}
7115671175
},
7115771176
"required": [
7115871177
"total",
71159-
"runtimeProviderRepositories"
71178+
"runtimeProviderRepositories",
71179+
"type"
7116071180
],
7116171181
"example": {
7116271182
"total": 5,
71163-
"runtimeProviderRepositories": ""
71183+
"runtimeProviderRepositories": "",
71184+
"type": "runtime"
7116471185
}
7116571186
},
7116671187
"branchList": {

0 commit comments

Comments
 (0)