Skip to content

Commit e91209f

Browse files
committed
update swagger and modesl
1 parent a677292 commit e91209f

File tree

4 files changed

+42
-15
lines changed

4 files changed

+42
-15
lines changed

annofabapi/models.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
838838
* updated_datetime: str
839839
840840
* type: str
841-
[詳しくはこちら](#section/API-Convention/API-_type)
841+
`Delete` [詳しくはこちら](#section/API-Convention/API-_type)
842842
843843
"""
844844

@@ -851,7 +851,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
851851
* data: BatchAnnotation
852852
853853
* type: str
854-
[詳しくはこちら](#section/API-Convention/API-_type)
854+
`Put` [詳しくはこちら](#section/API-Convention/API-_type)
855855
856856
"""
857857

@@ -866,7 +866,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
866866
* input_data_id: str
867867
入力データID。[値の制約についてはこちら。](#section/API-Convention/APIID)
868868
* type: str
869-
[詳しくはこちら](#section/API-Convention/API-_type)
869+
`Delete` [詳しくはこちら](#section/API-Convention/API-_type)
870870
871871
"""
872872

@@ -885,7 +885,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
885885
* inspection_id: str
886886
検査ID。[値の制約についてはこちら。](#section/API-Convention/APIID)
887887
* type: str
888-
[詳しくはこちら](#section/API-Convention/API-_type)
888+
`Delete` [詳しくはこちら](#section/API-Convention/API-_type)
889889
890890
"""
891891

@@ -898,7 +898,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
898898
* data: Inspection
899899
900900
* type: str
901-
[詳しくはこちら](#section/API-Convention/API-_type)
901+
`Put` [詳しくはこちら](#section/API-Convention/API-_type)
902902
903903
"""
904904

@@ -913,7 +913,7 @@ class AssigneeRuleOfResubmittedTask(Enum):
913913
* task_id: str
914914
タスクID。[値の制約についてはこちら。](#section/API-Convention/APIID)
915915
* type: str
916-
[詳しくはこちら](#section/API-Convention/API-_type)
916+
`Delete` [詳しくはこちら](#section/API-Convention/API-_type)
917917
918918
"""
919919

@@ -1855,7 +1855,7 @@ class GraphType(Enum):
18551855

18561856
class InputDataOrder(Enum):
18571857
"""
1858-
タスクに割り当てる入力データの順序 * `name_asc` - 入力データ名 昇順(a, b, c, ...)。日付や番号などの連続するデータ名を扱う場合に推奨 * `name_asc` - 入力データ名 降順(z, y, x, ...) * `random` - ランダム
1858+
タスクに割り当てる入力データの順序 * `name_asc` - 入力データ名 昇順(a, b, c, ...)。日付や番号などの連続するデータ名を扱う場合に推奨 * `name_desc` - 入力データ名 降順(z, y, x, ...) * `random` - ランダム
18591859
"""
18601860

18611861
NAME_ASC = "name_asc"
@@ -3434,7 +3434,7 @@ class TaskAssignmentType(Enum):
34343434
* input_data_order: InputDataOrder
34353435
34363436
* type: str
3437-
[詳しくはこちら](#section/API-Convention/API-_type)
3437+
`ByCount` [詳しくはこちら](#section/API-Convention/API-_type)
34383438
34393439
"""
34403440

@@ -3449,7 +3449,7 @@ class TaskAssignmentType(Enum):
34493449
* input_data_name_prefix: str
34503450
タスク生成対象の入力データ名プレフィックス
34513451
* type: str
3452-
[詳しくはこちら](#section/API-Convention/API-_type)
3452+
`ByDirectory` [詳しくはこちら](#section/API-Convention/API-_type)
34533453
34543454
"""
34553455

@@ -3462,7 +3462,7 @@ class TaskAssignmentType(Enum):
34623462
* csv_data_path: str
34633463
各タスクへの入力データへの割当を記入したCSVへのS3上のパス
34643464
* type: str
3465-
[詳しくはこちら](#section/API-Convention/API-_type)
3465+
`ByInputDataCsv` [詳しくはこちら](#section/API-Convention/API-_type)
34663466
34673467
"""
34683468

generate/swagger/swagger-api-components.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,7 @@
24102410
_type:
24112411
type: string
24122412
description: |
2413+
`ByCount`
24132414
[詳しくはこちら](#section/API-Convention/API-_type)
24142415
example: "ByCount"
24152416
TaskGenerateRuleByDirectory:
@@ -2428,6 +2429,7 @@
24282429
_type:
24292430
type: string
24302431
description: |
2432+
`ByDirectory`
24312433
[詳しくはこちら](#section/API-Convention/API-_type)
24322434
example: "ByDirectory"
24332435
TaskGenerateRuleByInputDataCsv:
@@ -2443,6 +2445,7 @@
24432445
_type:
24442446
type: string
24452447
description: |
2448+
`ByInputDataCsv`
24462449
[詳しくはこちら](#section/API-Convention/API-_type)
24472450
example: "ByInputDataCsv"
24482451
InputDataOrder:
@@ -2455,7 +2458,7 @@
24552458
タスクに割り当てる入力データの順序
24562459
24572460
* `name_asc` - 入力データ名 昇順(a, b, c, ...)。日付や番号などの連続するデータ名を扱う場合に推奨
2458-
* `name_asc` - 入力データ名 降順(z, y, x, ...)
2461+
* `name_desc` - 入力データ名 降順(z, y, x, ...)
24592462
* `random` - ランダム
24602463
TaskOperation:
24612464
type: object
@@ -2877,6 +2880,7 @@
28772880
_type:
28782881
type: string
28792882
description: |
2883+
`Delete`
28802884
[詳しくはこちら](#section/API-Convention/API-_type)
28812885
example: "Delete"
28822886
BatchTaskRequestItemDelete:
@@ -2893,6 +2897,7 @@
28932897
_type:
28942898
type: string
28952899
description: |
2900+
`Delete`
28962901
[詳しくはこちら](#section/API-Convention/API-_type)
28972902
example: "Delete"
28982903
DataPath:
@@ -3264,6 +3269,7 @@
32643269
_type:
32653270
type: string
32663271
description: |
3272+
`Put`
32673273
[詳しくはこちら](#section/API-Convention/API-_type)
32683274
example: "Put"
32693275
BatchAnnotationRequestItemDelete:
@@ -3289,6 +3295,7 @@
32893295
_type:
32903296
type: string
32913297
description: |
3298+
`Delete`
32923299
[詳しくはこちら](#section/API-Convention/API-_type)
32933300
example: "Delete"
32943301
SingleAnnotationDetail:
@@ -3575,6 +3582,7 @@
35753582
_type:
35763583
type: string
35773584
description: |
3585+
`Put`
35783586
[詳しくはこちら](#section/API-Convention/API-_type)
35793587
example: "Put"
35803588
BatchInspectionRequestItemDelete:
@@ -3597,6 +3605,7 @@
35973605
_type:
35983606
type: string
35993607
description: |
3608+
`Delete`
36003609
[詳しくはこちら](#section/API-Convention/API-_type)
36013610
example: "Delete"
36023611
Inspection:

generate/swagger/swagger.v2.yaml

+11-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ info:
8585
ジョブID | プロジェクト内で一意
8686
入力データセットID | 組織内で一意
8787
88-
version: 0.79.0
88+
version: 0.79.2
8989
title: AnnoFab Web API
9090
x-logo:
9191
url: "https://annofab.com/images/logo_landscape.png"
@@ -3055,6 +3055,7 @@ components:
30553055
_type:
30563056
type: string
30573057
description: |
3058+
`ByCount`
30583059
[詳しくはこちら](#section/API-Convention/API-_type)
30593060
example: "ByCount"
30603061
TaskGenerateRuleByDirectory:
@@ -3073,6 +3074,7 @@ components:
30733074
_type:
30743075
type: string
30753076
description: |
3077+
`ByDirectory`
30763078
[詳しくはこちら](#section/API-Convention/API-_type)
30773079
example: "ByDirectory"
30783080
TaskGenerateRuleByInputDataCsv:
@@ -3088,6 +3090,7 @@ components:
30883090
_type:
30893091
type: string
30903092
description: |
3093+
`ByInputDataCsv`
30913094
[詳しくはこちら](#section/API-Convention/API-_type)
30923095
example: "ByInputDataCsv"
30933096
InputDataOrder:
@@ -3100,7 +3103,7 @@ components:
31003103
タスクに割り当てる入力データの順序
31013104
31023105
* `name_asc` - 入力データ名 昇順(a, b, c, ...)。日付や番号などの連続するデータ名を扱う場合に推奨
3103-
* `name_asc` - 入力データ名 降順(z, y, x, ...)
3106+
* `name_desc` - 入力データ名 降順(z, y, x, ...)
31043107
* `random` - ランダム
31053108
TaskOperation:
31063109
type: object
@@ -3522,6 +3525,7 @@ components:
35223525
_type:
35233526
type: string
35243527
description: |
3528+
`Delete`
35253529
[詳しくはこちら](#section/API-Convention/API-_type)
35263530
example: "Delete"
35273531
BatchTaskRequestItemDelete:
@@ -3538,6 +3542,7 @@ components:
35383542
_type:
35393543
type: string
35403544
description: |
3545+
`Delete`
35413546
[詳しくはこちら](#section/API-Convention/API-_type)
35423547
example: "Delete"
35433548
DataPath:
@@ -3909,6 +3914,7 @@ components:
39093914
_type:
39103915
type: string
39113916
description: |
3917+
`Put`
39123918
[詳しくはこちら](#section/API-Convention/API-_type)
39133919
example: "Put"
39143920
BatchAnnotationRequestItemDelete:
@@ -3934,6 +3940,7 @@ components:
39343940
_type:
39353941
type: string
39363942
description: |
3943+
`Delete`
39373944
[詳しくはこちら](#section/API-Convention/API-_type)
39383945
example: "Delete"
39393946
SingleAnnotationDetail:
@@ -4220,6 +4227,7 @@ components:
42204227
_type:
42214228
type: string
42224229
description: |
4230+
`Put`
42234231
[詳しくはこちら](#section/API-Convention/API-_type)
42244232
example: "Put"
42254233
BatchInspectionRequestItemDelete:
@@ -4242,6 +4250,7 @@ components:
42424250
_type:
42434251
type: string
42444252
description: |
4253+
`Delete`
42454254
[詳しくはこちら](#section/API-Convention/API-_type)
42464255
example: "Delete"
42474256
Inspection:

generate/swagger/swagger.yaml

+11-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ info:
8585
ジョブID | プロジェクト内で一意
8686
入力データセットID | 組織内で一意
8787
88-
version: 0.79.0
88+
version: 0.79.2
8989
title: AnnoFab Web API
9090
x-logo:
9191
url: "https://annofab.com/images/logo_landscape.png"
@@ -7285,6 +7285,7 @@ components:
72857285
_type:
72867286
type: string
72877287
description: |
7288+
`ByCount`
72887289
[詳しくはこちら](#section/API-Convention/API-_type)
72897290
example: "ByCount"
72907291
TaskGenerateRuleByDirectory:
@@ -7303,6 +7304,7 @@ components:
73037304
_type:
73047305
type: string
73057306
description: |
7307+
`ByDirectory`
73067308
[詳しくはこちら](#section/API-Convention/API-_type)
73077309
example: "ByDirectory"
73087310
TaskGenerateRuleByInputDataCsv:
@@ -7318,6 +7320,7 @@ components:
73187320
_type:
73197321
type: string
73207322
description: |
7323+
`ByInputDataCsv`
73217324
[詳しくはこちら](#section/API-Convention/API-_type)
73227325
example: "ByInputDataCsv"
73237326
InputDataOrder:
@@ -7330,7 +7333,7 @@ components:
73307333
タスクに割り当てる入力データの順序
73317334
73327335
* `name_asc` - 入力データ名 昇順(a, b, c, ...)。日付や番号などの連続するデータ名を扱う場合に推奨
7333-
* `name_asc` - 入力データ名 降順(z, y, x, ...)
7336+
* `name_desc` - 入力データ名 降順(z, y, x, ...)
73347337
* `random` - ランダム
73357338
TaskOperation:
73367339
type: object
@@ -7752,6 +7755,7 @@ components:
77527755
_type:
77537756
type: string
77547757
description: |
7758+
`Delete`
77557759
[詳しくはこちら](#section/API-Convention/API-_type)
77567760
example: "Delete"
77577761
BatchTaskRequestItemDelete:
@@ -7768,6 +7772,7 @@ components:
77687772
_type:
77697773
type: string
77707774
description: |
7775+
`Delete`
77717776
[詳しくはこちら](#section/API-Convention/API-_type)
77727777
example: "Delete"
77737778
DataPath:
@@ -8139,6 +8144,7 @@ components:
81398144
_type:
81408145
type: string
81418146
description: |
8147+
`Put`
81428148
[詳しくはこちら](#section/API-Convention/API-_type)
81438149
example: "Put"
81448150
BatchAnnotationRequestItemDelete:
@@ -8164,6 +8170,7 @@ components:
81648170
_type:
81658171
type: string
81668172
description: |
8173+
`Delete`
81678174
[詳しくはこちら](#section/API-Convention/API-_type)
81688175
example: "Delete"
81698176
SingleAnnotationDetail:
@@ -8450,6 +8457,7 @@ components:
84508457
_type:
84518458
type: string
84528459
description: |
8460+
`Put`
84538461
[詳しくはこちら](#section/API-Convention/API-_type)
84548462
example: "Put"
84558463
BatchInspectionRequestItemDelete:
@@ -8472,6 +8480,7 @@ components:
84728480
_type:
84738481
type: string
84748482
description: |
8483+
`Delete`
84758484
[詳しくはこちら](#section/API-Convention/API-_type)
84768485
example: "Delete"
84778486
Inspection:

0 commit comments

Comments
 (0)