Skip to content

Commit 16d4930

Browse files
committed
upgraded openapi specs
1 parent e44151b commit 16d4930

File tree

4 files changed

+102
-282
lines changed

4 files changed

+102
-282
lines changed

services/api-server/openapi.json

Lines changed: 56 additions & 203 deletions
Original file line numberDiff line numberDiff line change
@@ -9788,13 +9788,6 @@
97889788
}
97899789
},
97909790
"type": "object",
9791-
"required": [
9792-
"first",
9793-
"last",
9794-
"self",
9795-
"next",
9796-
"prev"
9797-
],
97989791
"title": "Links"
97999792
},
98009793
"LogLink": {
@@ -9962,43 +9955,23 @@
99629955
"title": "Items"
99639956
},
99649957
"total": {
9965-
"anyOf": [
9966-
{
9967-
"type": "integer",
9968-
"minimum": 0
9969-
},
9970-
{
9971-
"type": "null"
9972-
}
9973-
],
9958+
"type": "integer",
9959+
"minimum": 0,
99749960
"title": "Total"
99759961
},
99769962
"limit": {
9977-
"anyOf": [
9978-
{
9979-
"type": "integer",
9980-
"minimum": 1
9981-
},
9982-
{
9983-
"type": "null"
9984-
}
9985-
],
9963+
"type": "integer",
9964+
"minimum": 1,
99869965
"title": "Limit"
99879966
},
99889967
"offset": {
9989-
"anyOf": [
9990-
{
9991-
"type": "integer",
9992-
"minimum": 0
9993-
},
9994-
{
9995-
"type": "null"
9996-
}
9997-
],
9968+
"type": "integer",
9969+
"minimum": 0,
99989970
"title": "Offset"
99999971
},
100009972
"links": {
10001-
"$ref": "#/components/schemas/Links"
9973+
"$ref": "#/components/schemas/Links",
9974+
"readOnly": true
100029975
}
100039976
},
100049977
"type": "object",
@@ -10039,43 +10012,23 @@
1003910012
"title": "Items"
1004010013
},
1004110014
"total": {
10042-
"anyOf": [
10043-
{
10044-
"type": "integer",
10045-
"minimum": 0
10046-
},
10047-
{
10048-
"type": "null"
10049-
}
10050-
],
10015+
"type": "integer",
10016+
"minimum": 0,
1005110017
"title": "Total"
1005210018
},
1005310019
"limit": {
10054-
"anyOf": [
10055-
{
10056-
"type": "integer",
10057-
"minimum": 1
10058-
},
10059-
{
10060-
"type": "null"
10061-
}
10062-
],
10020+
"type": "integer",
10021+
"minimum": 1,
1006310022
"title": "Limit"
1006410023
},
1006510024
"offset": {
10066-
"anyOf": [
10067-
{
10068-
"type": "integer",
10069-
"minimum": 0
10070-
},
10071-
{
10072-
"type": "null"
10073-
}
10074-
],
10025+
"type": "integer",
10026+
"minimum": 0,
1007510027
"title": "Offset"
1007610028
},
1007710029
"links": {
10078-
"$ref": "#/components/schemas/Links"
10030+
"$ref": "#/components/schemas/Links",
10031+
"readOnly": true
1007910032
}
1008010033
},
1008110034
"type": "object",
@@ -10098,43 +10051,23 @@
1009810051
"title": "Items"
1009910052
},
1010010053
"total": {
10101-
"anyOf": [
10102-
{
10103-
"type": "integer",
10104-
"minimum": 0
10105-
},
10106-
{
10107-
"type": "null"
10108-
}
10109-
],
10054+
"type": "integer",
10055+
"minimum": 0,
1011010056
"title": "Total"
1011110057
},
1011210058
"limit": {
10113-
"anyOf": [
10114-
{
10115-
"type": "integer",
10116-
"minimum": 1
10117-
},
10118-
{
10119-
"type": "null"
10120-
}
10121-
],
10059+
"type": "integer",
10060+
"minimum": 1,
1012210061
"title": "Limit"
1012310062
},
1012410063
"offset": {
10125-
"anyOf": [
10126-
{
10127-
"type": "integer",
10128-
"minimum": 0
10129-
},
10130-
{
10131-
"type": "null"
10132-
}
10133-
],
10064+
"type": "integer",
10065+
"minimum": 0,
1013410066
"title": "Offset"
1013510067
},
1013610068
"links": {
10137-
"$ref": "#/components/schemas/Links"
10069+
"$ref": "#/components/schemas/Links",
10070+
"readOnly": true
1013810071
}
1013910072
},
1014010073
"type": "object",
@@ -10157,43 +10090,23 @@
1015710090
"title": "Items"
1015810091
},
1015910092
"total": {
10160-
"anyOf": [
10161-
{
10162-
"type": "integer",
10163-
"minimum": 0
10164-
},
10165-
{
10166-
"type": "null"
10167-
}
10168-
],
10093+
"type": "integer",
10094+
"minimum": 0,
1016910095
"title": "Total"
1017010096
},
1017110097
"limit": {
10172-
"anyOf": [
10173-
{
10174-
"type": "integer",
10175-
"minimum": 1
10176-
},
10177-
{
10178-
"type": "null"
10179-
}
10180-
],
10098+
"type": "integer",
10099+
"minimum": 1,
1018110100
"title": "Limit"
1018210101
},
1018310102
"offset": {
10184-
"anyOf": [
10185-
{
10186-
"type": "integer",
10187-
"minimum": 0
10188-
},
10189-
{
10190-
"type": "null"
10191-
}
10192-
],
10103+
"type": "integer",
10104+
"minimum": 0,
1019310105
"title": "Offset"
1019410106
},
1019510107
"links": {
10196-
"$ref": "#/components/schemas/Links"
10108+
"$ref": "#/components/schemas/Links",
10109+
"readOnly": true
1019710110
}
1019810111
},
1019910112
"type": "object",
@@ -10216,43 +10129,23 @@
1021610129
"title": "Items"
1021710130
},
1021810131
"total": {
10219-
"anyOf": [
10220-
{
10221-
"type": "integer",
10222-
"minimum": 0
10223-
},
10224-
{
10225-
"type": "null"
10226-
}
10227-
],
10132+
"type": "integer",
10133+
"minimum": 0,
1022810134
"title": "Total"
1022910135
},
1023010136
"limit": {
10231-
"anyOf": [
10232-
{
10233-
"type": "integer",
10234-
"minimum": 1
10235-
},
10236-
{
10237-
"type": "null"
10238-
}
10239-
],
10137+
"type": "integer",
10138+
"minimum": 1,
1024010139
"title": "Limit"
1024110140
},
1024210141
"offset": {
10243-
"anyOf": [
10244-
{
10245-
"type": "integer",
10246-
"minimum": 0
10247-
},
10248-
{
10249-
"type": "null"
10250-
}
10251-
],
10142+
"type": "integer",
10143+
"minimum": 0,
1025210144
"title": "Offset"
1025310145
},
1025410146
"links": {
10255-
"$ref": "#/components/schemas/Links"
10147+
"$ref": "#/components/schemas/Links",
10148+
"readOnly": true
1025610149
}
1025710150
},
1025810151
"type": "object",
@@ -10275,43 +10168,23 @@
1027510168
"title": "Items"
1027610169
},
1027710170
"total": {
10278-
"anyOf": [
10279-
{
10280-
"type": "integer",
10281-
"minimum": 0
10282-
},
10283-
{
10284-
"type": "null"
10285-
}
10286-
],
10171+
"type": "integer",
10172+
"minimum": 0,
1028710173
"title": "Total"
1028810174
},
1028910175
"limit": {
10290-
"anyOf": [
10291-
{
10292-
"type": "integer",
10293-
"minimum": 1
10294-
},
10295-
{
10296-
"type": "null"
10297-
}
10298-
],
10176+
"type": "integer",
10177+
"minimum": 1,
1029910178
"title": "Limit"
1030010179
},
1030110180
"offset": {
10302-
"anyOf": [
10303-
{
10304-
"type": "integer",
10305-
"minimum": 0
10306-
},
10307-
{
10308-
"type": "null"
10309-
}
10310-
],
10181+
"type": "integer",
10182+
"minimum": 0,
1031110183
"title": "Offset"
1031210184
},
1031310185
"links": {
10314-
"$ref": "#/components/schemas/Links"
10186+
"$ref": "#/components/schemas/Links",
10187+
"readOnly": true
1031510188
}
1031610189
},
1031710190
"type": "object",
@@ -10334,43 +10207,23 @@
1033410207
"title": "Items"
1033510208
},
1033610209
"total": {
10337-
"anyOf": [
10338-
{
10339-
"type": "integer",
10340-
"minimum": 0
10341-
},
10342-
{
10343-
"type": "null"
10344-
}
10345-
],
10210+
"type": "integer",
10211+
"minimum": 0,
1034610212
"title": "Total"
1034710213
},
1034810214
"limit": {
10349-
"anyOf": [
10350-
{
10351-
"type": "integer",
10352-
"minimum": 1
10353-
},
10354-
{
10355-
"type": "null"
10356-
}
10357-
],
10215+
"type": "integer",
10216+
"minimum": 1,
1035810217
"title": "Limit"
1035910218
},
1036010219
"offset": {
10361-
"anyOf": [
10362-
{
10363-
"type": "integer",
10364-
"minimum": 0
10365-
},
10366-
{
10367-
"type": "null"
10368-
}
10369-
],
10220+
"type": "integer",
10221+
"minimum": 0,
1037010222
"title": "Offset"
1037110223
},
1037210224
"links": {
10373-
"$ref": "#/components/schemas/Links"
10225+
"$ref": "#/components/schemas/Links",
10226+
"readOnly": true
1037410227
}
1037510228
},
1037610229
"type": "object",

services/payments/openapi.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@
370370
},
371371
"password": {
372372
"type": "string",
373+
"format": "password",
373374
"title": "Password"
374375
},
375376
"scope": {
@@ -397,6 +398,7 @@
397398
"type": "null"
398399
}
399400
],
401+
"format": "password",
400402
"title": "Client Secret"
401403
}
402404
},

0 commit comments

Comments
 (0)