Skip to content

Commit f7b480a

Browse files
christophdbclaude
andcommitted
Add response schema properties for 64 endpoints
Auto-generated properties definitions from existing verified response examples. This gives generated clients (PHP, etc.) typed fields for all response objects. Resolves all 64 advisory warnings from check 17. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9e1cb3a commit f7b480a

7 files changed

Lines changed: 1210 additions & 0 deletions

authentication.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,21 @@ paths:
455455
application/json:
456456
schema:
457457
type: object
458+
properties:
459+
app_name:
460+
type: string
461+
access_token:
462+
type: string
463+
dtable_uuid:
464+
type: string
465+
dtable_server:
466+
type: string
467+
workspace_id:
468+
type: integer
469+
use_api_gateway:
470+
type: boolean
471+
dtable_name:
472+
type: string
458473
example:
459474
app_name: postman
460475
access_token: >-

base_operations.yaml

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2627,6 +2627,13 @@ paths:
26272627
application/json:
26282628
schema:
26292629
type: object
2630+
properties:
2631+
inserted_row_count:
2632+
type: integer
2633+
row_ids:
2634+
type: array
2635+
first_row:
2636+
type: object
26302637
example:
26312638
inserted_row_count: 3
26322639
row_ids:
@@ -2718,6 +2725,19 @@ paths:
27182725
application/json:
27192726
schema:
27202727
type: object
2728+
properties:
2729+
_id:
2730+
type: string
2731+
_mtime:
2732+
type: string
2733+
Name:
2734+
type: string
2735+
Date:
2736+
type: string
2737+
Content:
2738+
type: string
2739+
link:
2740+
type: array
27212741
example:
27222742
_id: Qtf7xPmoRaiFyQPO1aENTj
27232743
_mtime: "2021-03-10T16:19:31.761+00:00"
@@ -3139,6 +3159,19 @@ paths:
31393159
application/json:
31403160
schema:
31413161
type: object
3162+
properties:
3163+
_id:
3164+
type: string
3165+
name:
3166+
type: string
3167+
columns:
3168+
type: array
3169+
rows:
3170+
type: array
3171+
id_row_map:
3172+
type: object
3173+
views:
3174+
type: array
31423175
example:
31433176
_id: oW2Q
31443177
name: Appointments
@@ -3234,6 +3267,41 @@ paths:
32343267
application/json:
32353268
schema:
32363269
type: object
3270+
properties:
3271+
_id:
3272+
type: string
3273+
name:
3274+
type: string
3275+
type:
3276+
type: string
3277+
is_locked:
3278+
type: boolean
3279+
filter_conjunction:
3280+
type: string
3281+
filters:
3282+
type: array
3283+
sorts:
3284+
type: array
3285+
groupbys:
3286+
type: array
3287+
group_rows:
3288+
type: array
3289+
groups:
3290+
type: array
3291+
colorbys:
3292+
type: object
3293+
hidden_columns:
3294+
type: array
3295+
rows:
3296+
type: array
3297+
formula_rows:
3298+
type: object
3299+
link_rows:
3300+
type: object
3301+
summaries:
3302+
type: object
3303+
colors:
3304+
type: object
32373305
example:
32383306
_id: PeJE
32393307
name: New view
@@ -3272,6 +3340,41 @@ paths:
32723340
application/json:
32733341
schema:
32743342
type: object
3343+
properties:
3344+
_id:
3345+
type: string
3346+
name:
3347+
type: string
3348+
type:
3349+
type: string
3350+
is_locked:
3351+
type: boolean
3352+
filter_conjunction:
3353+
type: string
3354+
filters:
3355+
type: array
3356+
sorts:
3357+
type: array
3358+
groupbys:
3359+
type: array
3360+
group_rows:
3361+
type: array
3362+
groups:
3363+
type: array
3364+
colorbys:
3365+
type: object
3366+
hidden_columns:
3367+
type: array
3368+
rows:
3369+
type: array
3370+
formula_rows:
3371+
type: object
3372+
link_rows:
3373+
type: object
3374+
summaries:
3375+
type: object
3376+
colors:
3377+
type: object
32753378
example:
32763379
_id: r535
32773380
name: Default View
@@ -3329,6 +3432,41 @@ paths:
33293432
application/json:
33303433
schema:
33313434
type: object
3435+
properties:
3436+
_id:
3437+
type: string
3438+
name:
3439+
type: string
3440+
type:
3441+
type: string
3442+
is_locked:
3443+
type: boolean
3444+
filter_conjunction:
3445+
type: string
3446+
filters:
3447+
type: array
3448+
sorts:
3449+
type: array
3450+
groupbys:
3451+
type: array
3452+
group_rows:
3453+
type: array
3454+
groups:
3455+
type: array
3456+
colorbys:
3457+
type: object
3458+
hidden_columns:
3459+
type: array
3460+
rows:
3461+
type: array
3462+
formula_rows:
3463+
type: object
3464+
link_rows:
3465+
type: object
3466+
summaries:
3467+
type: object
3468+
colors:
3469+
type: object
33323470
example:
33333471
_id: r535
33343472
name: View1234567
@@ -3465,6 +3603,27 @@ paths:
34653603
application/json:
34663604
schema:
34673605
type: object
3606+
properties:
3607+
key:
3608+
type: string
3609+
type:
3610+
type: string
3611+
name:
3612+
type: string
3613+
editable:
3614+
type: boolean
3615+
width:
3616+
type: integer
3617+
resizable:
3618+
type: boolean
3619+
draggable:
3620+
type: boolean
3621+
data:
3622+
type: object
3623+
permission_type:
3624+
type: string
3625+
permitted_users:
3626+
type: array
34683627
example:
34693628
key: e48W
34703629
type: link-formula
@@ -3520,6 +3679,27 @@ paths:
35203679
application/json:
35213680
schema:
35223681
type: object
3682+
properties:
3683+
key:
3684+
type: string
3685+
type:
3686+
type: string
3687+
name:
3688+
type: string
3689+
editable:
3690+
type: boolean
3691+
width:
3692+
type: integer
3693+
resizable:
3694+
type: boolean
3695+
draggable:
3696+
type: boolean
3697+
data:
3698+
type: string
3699+
permission_type:
3700+
type: string
3701+
permitted_users:
3702+
type: array
35233703
example:
35243704
key: cSDV
35253705
type: number
@@ -4111,6 +4291,23 @@ paths:
41114291
application/json:
41124292
schema:
41134293
type: object
4294+
properties:
4295+
id:
4296+
type: integer
4297+
author:
4298+
type: string
4299+
comment:
4300+
type: string
4301+
dtable_uuid:
4302+
type: string
4303+
row_id:
4304+
type: string
4305+
created_at:
4306+
type: string
4307+
updated_at:
4308+
type: string
4309+
resolved:
4310+
type: integer
41144311
example:
41154312
id: 1
41164313
author: 12345678d17570046f03c2cb7369d244@auth.local

file_operations.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,17 @@ paths:
138138
application/json:
139139
schema:
140140
type: object
141+
properties:
142+
upload_link:
143+
type: string
144+
workspace_id:
145+
type: integer
146+
parent_path:
147+
type: string
148+
img_relative_path:
149+
type: string
150+
file_relative_path:
151+
type: string
141152
example:
142153
upload_link: >-
143154
https://cloud.seatable.io/seafhttp/upload-api/83e701c8-84ba-498c-91b1-ddb3789edb7e

python-scheduler.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ paths:
141141
application/json:
142142
schema:
143143
type: object
144+
properties:
145+
month:
146+
type: string
147+
results:
148+
type: array
149+
total_count:
150+
type: integer
144151
example:
145152
month: "2023-02"
146153
results:
@@ -178,6 +185,13 @@ paths:
178185
application/json:
179186
schema:
180187
type: object
188+
properties:
189+
month:
190+
type: string
191+
results:
192+
type: array
193+
total_count:
194+
type: integer
181195
example:
182196
month: "2023-02"
183197
results:
@@ -215,6 +229,13 @@ paths:
215229
application/json:
216230
schema:
217231
type: object
232+
properties:
233+
month:
234+
type: string
235+
results:
236+
type: array
237+
total_count:
238+
type: integer
218239
example:
219240
month: "2023-02"
220241
results:

0 commit comments

Comments
 (0)