item-wms-public-api-tool 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.yaml +0 -307
- package/package.json +1 -1
- package/scripts/sync-openapi.js +22 -0
package/openapi.yaml
CHANGED
|
@@ -2491,9 +2491,6 @@ components:
|
|
|
2491
2491
|
type: string
|
|
2492
2492
|
labelBase64:
|
|
2493
2493
|
type: string
|
|
2494
|
-
required:
|
|
2495
|
-
- CompanyID
|
|
2496
|
-
- FacilityID
|
|
2497
2494
|
dto.public.ShippingPublicData:
|
|
2498
2495
|
$id: "#/definitions/a40057b3-22ad-4419-9821-60fcf2a4a88b"
|
|
2499
2496
|
type: object
|
|
@@ -2548,10 +2545,6 @@ components:
|
|
|
2548
2545
|
anyOf:
|
|
2549
2546
|
- type: "null"
|
|
2550
2547
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
2551
|
-
required:
|
|
2552
|
-
- CompanyID
|
|
2553
|
-
- FacilityID
|
|
2554
|
-
- CustomerID
|
|
2555
2548
|
dto.public.File:
|
|
2556
2549
|
$id: "#/definitions/ea27609f-47ae-45db-ac9e-e6ac33d9ba3c"
|
|
2557
2550
|
type: object
|
|
@@ -2620,9 +2613,6 @@ components:
|
|
|
2620
2613
|
- type: "null"
|
|
2621
2614
|
- type: string
|
|
2622
2615
|
required:
|
|
2623
|
-
- CompanyID
|
|
2624
|
-
- FacilityID
|
|
2625
|
-
- CustomerID
|
|
2626
2616
|
- DocumentType
|
|
2627
2617
|
- Files
|
|
2628
2618
|
dto.public.OrderFileUploadCmd:
|
|
@@ -2682,9 +2672,6 @@ components:
|
|
|
2682
2672
|
- type: "null"
|
|
2683
2673
|
- type: string
|
|
2684
2674
|
required:
|
|
2685
|
-
- CompanyID
|
|
2686
|
-
- FacilityID
|
|
2687
|
-
- CustomerID
|
|
2688
2675
|
- DocumentType
|
|
2689
2676
|
- FileData
|
|
2690
2677
|
- FileName
|
|
@@ -2710,10 +2697,6 @@ components:
|
|
|
2710
2697
|
anyOf:
|
|
2711
2698
|
- type: "null"
|
|
2712
2699
|
- type: string
|
|
2713
|
-
required:
|
|
2714
|
-
- CompanyID
|
|
2715
|
-
- FacilityID
|
|
2716
|
-
- CustomerID
|
|
2717
2700
|
dto.public.ReceiptCancelCmd:
|
|
2718
2701
|
$id: "#/definitions/16e93e44-dbb8-48b2-830c-c0819e9fc1d0"
|
|
2719
2702
|
type: object
|
|
@@ -2740,10 +2723,6 @@ components:
|
|
|
2740
2723
|
anyOf:
|
|
2741
2724
|
- type: "null"
|
|
2742
2725
|
- type: string
|
|
2743
|
-
required:
|
|
2744
|
-
- CompanyID
|
|
2745
|
-
- FacilityID
|
|
2746
|
-
- CustomerID
|
|
2747
2726
|
dto.public.ReceiptACKPublicData:
|
|
2748
2727
|
$id: "#/definitions/d3dc70cd-c690-4059-b551-57072f8e739d"
|
|
2749
2728
|
type: object
|
|
@@ -2795,10 +2774,6 @@ components:
|
|
|
2795
2774
|
anyOf:
|
|
2796
2775
|
- type: "null"
|
|
2797
2776
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
2798
|
-
required:
|
|
2799
|
-
- CompanyID
|
|
2800
|
-
- FacilityID
|
|
2801
|
-
- CustomerID
|
|
2802
2777
|
dto.public.OrderACKPublicData:
|
|
2803
2778
|
$id: "#/definitions/4771a4dd-b505-4cab-9c61-8b4f557ac94d"
|
|
2804
2779
|
type: object
|
|
@@ -2846,10 +2821,6 @@ components:
|
|
|
2846
2821
|
anyOf:
|
|
2847
2822
|
- type: "null"
|
|
2848
2823
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
2849
|
-
required:
|
|
2850
|
-
- CompanyID
|
|
2851
|
-
- FacilityID
|
|
2852
|
-
- CustomerID
|
|
2853
2824
|
dto.public.RCItem:
|
|
2854
2825
|
$id: "#/definitions/5243ec08-822c-453c-b15e-8ce7e7708aa8"
|
|
2855
2826
|
type: object
|
|
@@ -2967,8 +2938,6 @@ components:
|
|
|
2967
2938
|
CreatedWhen:
|
|
2968
2939
|
type: string
|
|
2969
2940
|
required:
|
|
2970
|
-
- FacilityID
|
|
2971
|
-
- CustomerID
|
|
2972
2941
|
- ReferenceNo
|
|
2973
2942
|
dto.public.ReceiptSearchRCQuery:
|
|
2974
2943
|
$id: "#/definitions/b4a497bf-d6f8-4ebc-bf2c-3e5eede6f367"
|
|
@@ -3004,10 +2973,6 @@ components:
|
|
|
3004
2973
|
anyOf:
|
|
3005
2974
|
- type: "null"
|
|
3006
2975
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
3007
|
-
required:
|
|
3008
|
-
- CompanyID
|
|
3009
|
-
- FacilityID
|
|
3010
|
-
- CustomerID
|
|
3011
2976
|
dto.public.OrderSearchDCQuery:
|
|
3012
2977
|
$id: "#/definitions/eb8c1451-bdf5-40af-89d4-d1b61bec8913"
|
|
3013
2978
|
type: object
|
|
@@ -3042,10 +3007,6 @@ components:
|
|
|
3042
3007
|
anyOf:
|
|
3043
3008
|
- type: "null"
|
|
3044
3009
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
3045
|
-
required:
|
|
3046
|
-
- CompanyID
|
|
3047
|
-
- FacilityID
|
|
3048
|
-
- CustomerID
|
|
3049
3010
|
dto.public.ReceiptItemPublicData:
|
|
3050
3011
|
$id: "#/definitions/2180968a-5465-4fd9-89da-03699c44fa21"
|
|
3051
3012
|
type: object
|
|
@@ -3345,10 +3306,6 @@ components:
|
|
|
3345
3306
|
anyOf:
|
|
3346
3307
|
- type: "null"
|
|
3347
3308
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
3348
|
-
required:
|
|
3349
|
-
- CompanyID
|
|
3350
|
-
- FacilityID
|
|
3351
|
-
- CustomerID
|
|
3352
3309
|
dto.public.ReceiptPublicData:
|
|
3353
3310
|
$id: "#/definitions/43bd4aa0-9218-4c65-afcd-6995f00bfcb0"
|
|
3354
3311
|
type: object
|
|
@@ -3567,10 +3524,6 @@ components:
|
|
|
3567
3524
|
anyOf:
|
|
3568
3525
|
- type: "null"
|
|
3569
3526
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
3570
|
-
required:
|
|
3571
|
-
- CompanyID
|
|
3572
|
-
- FacilityID
|
|
3573
|
-
- CustomerID
|
|
3574
3527
|
dto.public.OrderItemPublicData:
|
|
3575
3528
|
$id: "#/definitions/6c20a23b-0bb2-4421-b1e8-133277a30858"
|
|
3576
3529
|
type: object
|
|
@@ -3980,10 +3933,6 @@ components:
|
|
|
3980
3933
|
anyOf:
|
|
3981
3934
|
- type: "null"
|
|
3982
3935
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
3983
|
-
required:
|
|
3984
|
-
- CompanyID
|
|
3985
|
-
- FacilityID
|
|
3986
|
-
- CustomerID
|
|
3987
3936
|
dto.public.DynamicFields:
|
|
3988
3937
|
$id: "#/definitions/af2d1b61-476c-4557-b2f4-0f6aa0257618"
|
|
3989
3938
|
type: object
|
|
@@ -4453,10 +4402,6 @@ components:
|
|
|
4453
4402
|
anyOf:
|
|
4454
4403
|
- type: "null"
|
|
4455
4404
|
- $ref: "#/components/schemas/dto.public.Object"
|
|
4456
|
-
required:
|
|
4457
|
-
- CompanyID
|
|
4458
|
-
- FacilityID
|
|
4459
|
-
- CustomerID
|
|
4460
4405
|
dto.public.InventoryAdjustPropertyCmd:
|
|
4461
4406
|
$id: "#/definitions/cd1cc1ba-8fbd-434d-8e2f-64df0be29d36"
|
|
4462
4407
|
type: object
|
|
@@ -4580,9 +4525,6 @@ components:
|
|
|
4580
4525
|
enum:
|
|
4581
4526
|
- Physical Count
|
|
4582
4527
|
required:
|
|
4583
|
-
- CompanyID
|
|
4584
|
-
- FacilityID
|
|
4585
|
-
- CustomerID
|
|
4586
4528
|
- LP
|
|
4587
4529
|
- Location
|
|
4588
4530
|
- ItemID
|
|
@@ -4695,9 +4637,6 @@ components:
|
|
|
4695
4637
|
Reason:
|
|
4696
4638
|
type: string
|
|
4697
4639
|
required:
|
|
4698
|
-
- CompanyID
|
|
4699
|
-
- FacilityID
|
|
4700
|
-
- CustomerID
|
|
4701
4640
|
- LP
|
|
4702
4641
|
- Location
|
|
4703
4642
|
- Status
|
|
@@ -4852,10 +4791,6 @@ components:
|
|
|
4852
4791
|
- type: "null"
|
|
4853
4792
|
- type: string
|
|
4854
4793
|
- type: string
|
|
4855
|
-
required:
|
|
4856
|
-
- CompanyID
|
|
4857
|
-
- FacilityID
|
|
4858
|
-
- CustomerID
|
|
4859
4794
|
dto.public.InventoryBalancePublicData:
|
|
4860
4795
|
$id: "#/definitions/4cd612fb-fe9a-4699-a7f8-670b82e549ca"
|
|
4861
4796
|
type: object
|
|
@@ -4955,10 +4890,6 @@ components:
|
|
|
4955
4890
|
- type: "null"
|
|
4956
4891
|
- type: string
|
|
4957
4892
|
- type: string
|
|
4958
|
-
required:
|
|
4959
|
-
- CompanyID
|
|
4960
|
-
- FacilityID
|
|
4961
|
-
- CustomerID
|
|
4962
4893
|
dto.public.InventorySnPublicData:
|
|
4963
4894
|
$id: "#/definitions/5e8ff89e-2d00-4080-8c96-59569aeeedf9"
|
|
4964
4895
|
type: object
|
|
@@ -5193,10 +5124,6 @@ components:
|
|
|
5193
5124
|
- type: "null"
|
|
5194
5125
|
- type: string
|
|
5195
5126
|
- type: string
|
|
5196
|
-
required:
|
|
5197
|
-
- CompanyID
|
|
5198
|
-
- FacilityID
|
|
5199
|
-
- CustomerID
|
|
5200
5127
|
dto.inbound.Receipt:
|
|
5201
5128
|
$id: "#/definitions/2ffc571a-864b-4d24-9b02-03b47069f952"
|
|
5202
5129
|
type: object
|
|
@@ -5600,9 +5527,6 @@ components:
|
|
|
5600
5527
|
ASNContent:
|
|
5601
5528
|
$ref: "#/components/schemas/dto.inbound.ASNContent"
|
|
5602
5529
|
required:
|
|
5603
|
-
- CompanyID
|
|
5604
|
-
- CustomerID
|
|
5605
|
-
- FacilityID
|
|
5606
5530
|
- ASNContent
|
|
5607
5531
|
dto.outbound.Order:
|
|
5608
5532
|
$id: "#/definitions/ee8fb5ae-de12-46b5-9e93-c2e9191dbc92"
|
|
@@ -6272,9 +6196,6 @@ components:
|
|
|
6272
6196
|
POContent:
|
|
6273
6197
|
$ref: "#/components/schemas/dto.outbound.POContent"
|
|
6274
6198
|
required:
|
|
6275
|
-
- CompanyID
|
|
6276
|
-
- CustomerID
|
|
6277
|
-
- FacilityID
|
|
6278
6199
|
- TitleID
|
|
6279
6200
|
- POContent
|
|
6280
6201
|
dto.public.ReceiptFulfillmentStatus:
|
|
@@ -6365,9 +6286,6 @@ components:
|
|
|
6365
6286
|
anyOf:
|
|
6366
6287
|
- type: "null"
|
|
6367
6288
|
- type: number
|
|
6368
|
-
required:
|
|
6369
|
-
- CompanyID
|
|
6370
|
-
- FacilityID
|
|
6371
6289
|
dto.public.Paging:
|
|
6372
6290
|
$id: "#/definitions/56098c0f-ec64-428f-83d2-f4d77fcfd005"
|
|
6373
6291
|
type: object
|
|
@@ -6480,9 +6398,6 @@ components:
|
|
|
6480
6398
|
anyOf:
|
|
6481
6399
|
- type: "null"
|
|
6482
6400
|
- type: number
|
|
6483
|
-
required:
|
|
6484
|
-
- CompanyID
|
|
6485
|
-
- FacilityID
|
|
6486
6401
|
dto.public.InventoryItemPublicData:
|
|
6487
6402
|
$id: "#/definitions/779081ad-f19e-4ba7-8864-1cd1aca67570"
|
|
6488
6403
|
type: object
|
|
@@ -6574,7 +6489,6 @@ components:
|
|
|
6574
6489
|
items:
|
|
6575
6490
|
type: string
|
|
6576
6491
|
required:
|
|
6577
|
-
- CompanyID
|
|
6578
6492
|
- Item ID
|
|
6579
6493
|
- UPC Code
|
|
6580
6494
|
- Short Description
|
|
@@ -6665,10 +6579,6 @@ components:
|
|
|
6665
6579
|
- type: "null"
|
|
6666
6580
|
- type: string
|
|
6667
6581
|
- type: string
|
|
6668
|
-
required:
|
|
6669
|
-
- CompanyID
|
|
6670
|
-
- FacilityID
|
|
6671
|
-
- CustomerID
|
|
6672
6582
|
dto.public.ActivatedFacility:
|
|
6673
6583
|
$id: "#/definitions/a1f5137c-73e8-400d-a1a6-7daa553b93e1"
|
|
6674
6584
|
type: object
|
|
@@ -6743,9 +6653,6 @@ components:
|
|
|
6743
6653
|
type: string
|
|
6744
6654
|
CompanyID:
|
|
6745
6655
|
type: string
|
|
6746
|
-
required:
|
|
6747
|
-
- CustomerID
|
|
6748
|
-
- CompanyID
|
|
6749
6656
|
dto.public.UserView:
|
|
6750
6657
|
$id: "#/definitions/8416557e-b733-4fd2-a65c-0181289329ee"
|
|
6751
6658
|
type: object
|
|
@@ -7265,8 +7172,6 @@ components:
|
|
|
7265
7172
|
- type: "null"
|
|
7266
7173
|
- $ref: "#/components/schemas/dto.QueryPaging"
|
|
7267
7174
|
required:
|
|
7268
|
-
- CompanyID
|
|
7269
|
-
- CustomerID
|
|
7270
7175
|
- ItemIDs
|
|
7271
7176
|
dto.public.WarningItem:
|
|
7272
7177
|
$id: "#/definitions/4e5a5abd-b562-464f-945f-1dbf8da8c961"
|
|
@@ -7820,8 +7725,6 @@ components:
|
|
|
7820
7725
|
items:
|
|
7821
7726
|
$ref: "#/components/schemas/dto.public.ItemMasterPublicComponent"
|
|
7822
7727
|
required:
|
|
7823
|
-
- CompanyID
|
|
7824
|
-
- CustomerID
|
|
7825
7728
|
- Items
|
|
7826
7729
|
ItemUomPublicImport:
|
|
7827
7730
|
$id: "#/definitions/73425e1d-a063-4119-b796-bce54d481aed"
|
|
@@ -10311,8 +10214,6 @@ components:
|
|
|
10311
10214
|
- type: "null"
|
|
10312
10215
|
- $ref: "#/components/schemas/QueryPaging"
|
|
10313
10216
|
required:
|
|
10314
|
-
- CompanyID
|
|
10315
|
-
- CustomerID
|
|
10316
10217
|
- ItemIDs
|
|
10317
10218
|
ItemMasterPublicComponent:
|
|
10318
10219
|
$id: "#/definitions/39574c4f-1498-40fa-815a-ac7ef78fb360"
|
|
@@ -11353,8 +11254,6 @@ components:
|
|
|
11353
11254
|
items:
|
|
11354
11255
|
$ref: "#/components/schemas/ItemMasterPublicComponent"
|
|
11355
11256
|
required:
|
|
11356
|
-
- CompanyID
|
|
11357
|
-
- CustomerID
|
|
11358
11257
|
- Items
|
|
11359
11258
|
SalesUccLabelUploadRequest:
|
|
11360
11259
|
$id: "#/definitions/9f9c4d8a-8563-44ac-9724-15d33714fcb4"
|
|
@@ -11370,9 +11269,6 @@ components:
|
|
|
11370
11269
|
type: string
|
|
11371
11270
|
labelBase64:
|
|
11372
11271
|
type: string
|
|
11373
|
-
required:
|
|
11374
|
-
- CompanyID
|
|
11375
|
-
- FacilityID
|
|
11376
11272
|
ItemPublicData:
|
|
11377
11273
|
$id: "#/definitions/74abeb37-6c59-4a87-9a07-1638a8f6992f"
|
|
11378
11274
|
type: object
|
|
@@ -11864,8 +11760,6 @@ components:
|
|
|
11864
11760
|
CreatedWhen:
|
|
11865
11761
|
type: string
|
|
11866
11762
|
required:
|
|
11867
|
-
- FacilityID
|
|
11868
|
-
- CustomerID
|
|
11869
11763
|
- ReferenceNo
|
|
11870
11764
|
ReceiptRCPublicDataList:
|
|
11871
11765
|
$id: "#/definitions/19cd5b6d-9cf7-4f88-9bbb-a62f07111b0c"
|
|
@@ -12129,7 +12023,6 @@ components:
|
|
|
12129
12023
|
items:
|
|
12130
12024
|
type: string
|
|
12131
12025
|
required:
|
|
12132
|
-
- CompanyID
|
|
12133
12026
|
- Item ID
|
|
12134
12027
|
- UPC Code
|
|
12135
12028
|
- Short Description
|
|
@@ -12202,10 +12095,6 @@ components:
|
|
|
12202
12095
|
anyOf:
|
|
12203
12096
|
- type: "null"
|
|
12204
12097
|
- $ref: "#/components/schemas/Object"
|
|
12205
|
-
required:
|
|
12206
|
-
- CompanyID
|
|
12207
|
-
- FacilityID
|
|
12208
|
-
- CustomerID
|
|
12209
12098
|
File:
|
|
12210
12099
|
$id: "#/definitions/2205b93a-7283-4c0b-8d05-540ac28cbe62"
|
|
12211
12100
|
type: object
|
|
@@ -12274,9 +12163,6 @@ components:
|
|
|
12274
12163
|
- type: "null"
|
|
12275
12164
|
- type: string
|
|
12276
12165
|
required:
|
|
12277
|
-
- CompanyID
|
|
12278
|
-
- FacilityID
|
|
12279
|
-
- CustomerID
|
|
12280
12166
|
- DocumentType
|
|
12281
12167
|
- Files
|
|
12282
12168
|
FileUploadResponse:
|
|
@@ -12350,9 +12236,6 @@ components:
|
|
|
12350
12236
|
- type: "null"
|
|
12351
12237
|
- type: string
|
|
12352
12238
|
required:
|
|
12353
|
-
- CompanyID
|
|
12354
|
-
- FacilityID
|
|
12355
|
-
- CustomerID
|
|
12356
12239
|
- DocumentType
|
|
12357
12240
|
- FileData
|
|
12358
12241
|
- FileName
|
|
@@ -12378,10 +12261,6 @@ components:
|
|
|
12378
12261
|
anyOf:
|
|
12379
12262
|
- type: "null"
|
|
12380
12263
|
- type: string
|
|
12381
|
-
required:
|
|
12382
|
-
- CompanyID
|
|
12383
|
-
- FacilityID
|
|
12384
|
-
- CustomerID
|
|
12385
12264
|
ReceiptCancelCmd:
|
|
12386
12265
|
$id: "#/definitions/f1d67b36-31ed-47f6-a898-dc4afc0e104a"
|
|
12387
12266
|
type: object
|
|
@@ -12408,10 +12287,6 @@ components:
|
|
|
12408
12287
|
anyOf:
|
|
12409
12288
|
- type: "null"
|
|
12410
12289
|
- type: string
|
|
12411
|
-
required:
|
|
12412
|
-
- CompanyID
|
|
12413
|
-
- FacilityID
|
|
12414
|
-
- CustomerID
|
|
12415
12290
|
ReceiptSearchACKQuery:
|
|
12416
12291
|
$id: "#/definitions/2eeda189-deb4-4055-9a7a-347486257f63"
|
|
12417
12292
|
type: object
|
|
@@ -12450,10 +12325,6 @@ components:
|
|
|
12450
12325
|
anyOf:
|
|
12451
12326
|
- type: "null"
|
|
12452
12327
|
- $ref: "#/components/schemas/Object"
|
|
12453
|
-
required:
|
|
12454
|
-
- CompanyID
|
|
12455
|
-
- FacilityID
|
|
12456
|
-
- CustomerID
|
|
12457
12328
|
ACKSearchResponse:
|
|
12458
12329
|
$id: "#/definitions/03001a70-feba-4adb-81cc-c1ba41c2333d"
|
|
12459
12330
|
type: object
|
|
@@ -12504,10 +12375,6 @@ components:
|
|
|
12504
12375
|
anyOf:
|
|
12505
12376
|
- type: "null"
|
|
12506
12377
|
- $ref: "#/components/schemas/Object"
|
|
12507
|
-
required:
|
|
12508
|
-
- CompanyID
|
|
12509
|
-
- FacilityID
|
|
12510
|
-
- CustomerID
|
|
12511
12378
|
RCSearchResponse:
|
|
12512
12379
|
$id: "#/definitions/68515769-da2a-46f0-9073-36d0af9f07f8"
|
|
12513
12380
|
type: object
|
|
@@ -12555,10 +12422,6 @@ components:
|
|
|
12555
12422
|
anyOf:
|
|
12556
12423
|
- type: "null"
|
|
12557
12424
|
- $ref: "#/components/schemas/Object"
|
|
12558
|
-
required:
|
|
12559
|
-
- CompanyID
|
|
12560
|
-
- FacilityID
|
|
12561
|
-
- CustomerID
|
|
12562
12425
|
DCSearchResponse:
|
|
12563
12426
|
$id: "#/definitions/112a50d3-60b1-4f26-8a89-b48ae5bb66d9"
|
|
12564
12427
|
type: object
|
|
@@ -12606,10 +12469,6 @@ components:
|
|
|
12606
12469
|
anyOf:
|
|
12607
12470
|
- type: "null"
|
|
12608
12471
|
- $ref: "#/components/schemas/Object"
|
|
12609
|
-
required:
|
|
12610
|
-
- CompanyID
|
|
12611
|
-
- FacilityID
|
|
12612
|
-
- CustomerID
|
|
12613
12472
|
ReceiptItemLevelSearchResponse:
|
|
12614
12473
|
$id: "#/definitions/a9b02e92-8aaf-42cc-8efc-abd2f4106fa3"
|
|
12615
12474
|
type: object
|
|
@@ -12659,10 +12518,6 @@ components:
|
|
|
12659
12518
|
anyOf:
|
|
12660
12519
|
- type: "null"
|
|
12661
12520
|
- $ref: "#/components/schemas/Object"
|
|
12662
|
-
required:
|
|
12663
|
-
- CompanyID
|
|
12664
|
-
- FacilityID
|
|
12665
|
-
- CustomerID
|
|
12666
12521
|
ReceiptLevelSearchResponse:
|
|
12667
12522
|
$id: "#/definitions/0acb94a0-f93c-4077-9035-c7b6c5c0d8bc"
|
|
12668
12523
|
type: object
|
|
@@ -12712,10 +12567,6 @@ components:
|
|
|
12712
12567
|
anyOf:
|
|
12713
12568
|
- type: "null"
|
|
12714
12569
|
- $ref: "#/components/schemas/Object"
|
|
12715
|
-
required:
|
|
12716
|
-
- CompanyID
|
|
12717
|
-
- FacilityID
|
|
12718
|
-
- CustomerID
|
|
12719
12570
|
BasePagingResponse:
|
|
12720
12571
|
$id: "#/definitions/1953ce6d-01a2-4718-836c-1cd0da92f283"
|
|
12721
12572
|
type: object
|
|
@@ -12789,10 +12640,6 @@ components:
|
|
|
12789
12640
|
anyOf:
|
|
12790
12641
|
- type: "null"
|
|
12791
12642
|
- $ref: "#/components/schemas/Object"
|
|
12792
|
-
required:
|
|
12793
|
-
- CompanyID
|
|
12794
|
-
- FacilityID
|
|
12795
|
-
- CustomerID
|
|
12796
12643
|
OrderLevelSearchResponse:
|
|
12797
12644
|
$id: "#/definitions/a8113c84-5155-464b-9b94-77206d9415cb"
|
|
12798
12645
|
type: object
|
|
@@ -12862,10 +12709,6 @@ components:
|
|
|
12862
12709
|
anyOf:
|
|
12863
12710
|
- type: "null"
|
|
12864
12711
|
- $ref: "#/components/schemas/Object"
|
|
12865
|
-
required:
|
|
12866
|
-
- CompanyID
|
|
12867
|
-
- FacilityID
|
|
12868
|
-
- CustomerID
|
|
12869
12712
|
InventoryAdjustPropertyCmd:
|
|
12870
12713
|
$id: "#/definitions/1bd3f57a-9a2d-4788-8d9a-7e5c55248ec8"
|
|
12871
12714
|
type: object
|
|
@@ -12989,9 +12832,6 @@ components:
|
|
|
12989
12832
|
enum:
|
|
12990
12833
|
- Physical Count
|
|
12991
12834
|
required:
|
|
12992
|
-
- CompanyID
|
|
12993
|
-
- FacilityID
|
|
12994
|
-
- CustomerID
|
|
12995
12835
|
- LP
|
|
12996
12836
|
- Location
|
|
12997
12837
|
- ItemID
|
|
@@ -13104,9 +12944,6 @@ components:
|
|
|
13104
12944
|
Reason:
|
|
13105
12945
|
type: string
|
|
13106
12946
|
required:
|
|
13107
|
-
- CompanyID
|
|
13108
|
-
- FacilityID
|
|
13109
|
-
- CustomerID
|
|
13110
12947
|
- LP
|
|
13111
12948
|
- Location
|
|
13112
12949
|
- Status
|
|
@@ -13190,10 +13027,6 @@ components:
|
|
|
13190
13027
|
- type: "null"
|
|
13191
13028
|
- type: string
|
|
13192
13029
|
- type: string
|
|
13193
|
-
required:
|
|
13194
|
-
- CompanyID
|
|
13195
|
-
- FacilityID
|
|
13196
|
-
- CustomerID
|
|
13197
13030
|
InventoryBalanceReportQuery:
|
|
13198
13031
|
$id: "#/definitions/7273ef91-c756-4663-a5f9-b5fcf21fefab"
|
|
13199
13032
|
type: object
|
|
@@ -13234,10 +13067,6 @@ components:
|
|
|
13234
13067
|
- type: "null"
|
|
13235
13068
|
- type: string
|
|
13236
13069
|
- type: string
|
|
13237
|
-
required:
|
|
13238
|
-
- CompanyID
|
|
13239
|
-
- FacilityID
|
|
13240
|
-
- CustomerID
|
|
13241
13070
|
InventoryResult:
|
|
13242
13071
|
$id: "#/definitions/b30740c8-f737-4f24-88d9-49fb3298870f"
|
|
13243
13072
|
type: object
|
|
@@ -13298,10 +13127,6 @@ components:
|
|
|
13298
13127
|
- type: "null"
|
|
13299
13128
|
- type: string
|
|
13300
13129
|
- type: string
|
|
13301
|
-
required:
|
|
13302
|
-
- CompanyID
|
|
13303
|
-
- FacilityID
|
|
13304
|
-
- CustomerID
|
|
13305
13130
|
Receipt:
|
|
13306
13131
|
$id: "#/definitions/9aa917e1-019a-46cf-b6a4-6e227616350e"
|
|
13307
13132
|
type: object
|
|
@@ -13570,9 +13395,6 @@ components:
|
|
|
13570
13395
|
ASNContent:
|
|
13571
13396
|
$ref: "#/components/schemas/ASNContent"
|
|
13572
13397
|
required:
|
|
13573
|
-
- CompanyID
|
|
13574
|
-
- CustomerID
|
|
13575
|
-
- FacilityID
|
|
13576
13398
|
- ASNContent
|
|
13577
13399
|
Order:
|
|
13578
13400
|
$id: "#/definitions/91b02786-dab8-4e6b-8fa3-5e6d5258de8d"
|
|
@@ -13831,9 +13653,6 @@ components:
|
|
|
13831
13653
|
POContent:
|
|
13832
13654
|
$ref: "#/components/schemas/POContent"
|
|
13833
13655
|
required:
|
|
13834
|
-
- CompanyID
|
|
13835
|
-
- CustomerID
|
|
13836
|
-
- FacilityID
|
|
13837
13656
|
- TitleID
|
|
13838
13657
|
- POContent
|
|
13839
13658
|
ReceiptFulfillmentStatus:
|
|
@@ -13924,9 +13743,6 @@ components:
|
|
|
13924
13743
|
anyOf:
|
|
13925
13744
|
- type: "null"
|
|
13926
13745
|
- type: number
|
|
13927
|
-
required:
|
|
13928
|
-
- CompanyID
|
|
13929
|
-
- FacilityID
|
|
13930
13746
|
OrderFulfillmentStatus:
|
|
13931
13747
|
$id: "#/definitions/83f19567-7eac-469f-b546-7f816fbde30b"
|
|
13932
13748
|
type: object
|
|
@@ -14019,9 +13835,6 @@ components:
|
|
|
14019
13835
|
anyOf:
|
|
14020
13836
|
- type: "null"
|
|
14021
13837
|
- type: number
|
|
14022
|
-
required:
|
|
14023
|
-
- CompanyID
|
|
14024
|
-
- FacilityID
|
|
14025
13838
|
Object:
|
|
14026
13839
|
$id: "#/definitions/4ce30187-97ed-4d8c-bce5-92cd3cbd82ed"
|
|
14027
13840
|
type: object
|
|
@@ -14085,10 +13898,6 @@ components:
|
|
|
14085
13898
|
- type: "null"
|
|
14086
13899
|
- type: string
|
|
14087
13900
|
- type: string
|
|
14088
|
-
required:
|
|
14089
|
-
- CompanyID
|
|
14090
|
-
- FacilityID
|
|
14091
|
-
- CustomerID
|
|
14092
13901
|
ActivatedFacility:
|
|
14093
13902
|
$id: "#/definitions/d0253de9-e441-494d-a887-35ab23382a98"
|
|
14094
13903
|
type: object
|
|
@@ -14163,9 +13972,6 @@ components:
|
|
|
14163
13972
|
type: string
|
|
14164
13973
|
CompanyID:
|
|
14165
13974
|
type: string
|
|
14166
|
-
required:
|
|
14167
|
-
- CustomerID
|
|
14168
|
-
- CompanyID
|
|
14169
13975
|
UserView:
|
|
14170
13976
|
$id: "#/definitions/9eaaacaf-d2ae-4937-a8b3-2fafa8677c84"
|
|
14171
13977
|
type: object
|
|
@@ -14350,9 +14156,6 @@ components:
|
|
|
14350
14156
|
anyOf:
|
|
14351
14157
|
- type: "null"
|
|
14352
14158
|
- $ref: "#/components/schemas/QueryPaging"
|
|
14353
|
-
required:
|
|
14354
|
-
- CompanyID
|
|
14355
|
-
- CustomerID
|
|
14356
14159
|
ComponentDto:
|
|
14357
14160
|
$id: "#/definitions/e059a4d4-3c56-4029-b933-f53dd53448a5"
|
|
14358
14161
|
type: object
|
|
@@ -14383,8 +14186,6 @@ components:
|
|
|
14383
14186
|
items:
|
|
14384
14187
|
$ref: "#/components/schemas/ComponentDto"
|
|
14385
14188
|
required:
|
|
14386
|
-
- CompanyID
|
|
14387
|
-
- CustomerID
|
|
14388
14189
|
- Components
|
|
14389
14190
|
PagingResultParam:
|
|
14390
14191
|
$id: "#/definitions/fa3d0c73-2db8-481e-81ef-9eee9c83f9c4"
|
|
@@ -14458,9 +14259,6 @@ components:
|
|
|
14458
14259
|
anyOf:
|
|
14459
14260
|
- type: "null"
|
|
14460
14261
|
- $ref: "#/components/schemas/Paging11"
|
|
14461
|
-
required:
|
|
14462
|
-
- CompanyID
|
|
14463
|
-
- CustomerID
|
|
14464
14262
|
WarningItem:
|
|
14465
14263
|
$id: "#/definitions/74858a13-e8dc-40ff-b02e-24551b42bac6"
|
|
14466
14264
|
type: object
|
|
@@ -15560,8 +15358,6 @@ components:
|
|
|
15560
15358
|
items:
|
|
15561
15359
|
$ref: "#/components/schemas/ItemMasterComponent"
|
|
15562
15360
|
required:
|
|
15563
|
-
- CompanyID
|
|
15564
|
-
- CustomerID
|
|
15565
15361
|
- Items
|
|
15566
15362
|
OrderImportItem:
|
|
15567
15363
|
type: object
|
|
@@ -15812,10 +15608,6 @@ components:
|
|
|
15812
15608
|
Paging:
|
|
15813
15609
|
$ref: "#/components/schemas/Paging6"
|
|
15814
15610
|
description: Page Object
|
|
15815
|
-
required:
|
|
15816
|
-
- FacilityID
|
|
15817
|
-
- CustomerID
|
|
15818
|
-
- CompanyID
|
|
15819
15611
|
ResponseEntityReceiptLevelQueryResponse:
|
|
15820
15612
|
type: object
|
|
15821
15613
|
properties:
|
|
@@ -15849,10 +15641,6 @@ components:
|
|
|
15849
15641
|
Paging:
|
|
15850
15642
|
$ref: "#/components/schemas/Paging6"
|
|
15851
15643
|
description: Page Object
|
|
15852
|
-
required:
|
|
15853
|
-
- FacilityID
|
|
15854
|
-
- CustomerID
|
|
15855
|
-
- CompanyID
|
|
15856
15644
|
ResponseEntityShippingSearchResponse:
|
|
15857
15645
|
type: object
|
|
15858
15646
|
properties:
|
|
@@ -16902,9 +16690,6 @@ components:
|
|
|
16902
16690
|
Paging:
|
|
16903
16691
|
$ref: "#/components/schemas/Paging10"
|
|
16904
16692
|
description: ""
|
|
16905
|
-
required:
|
|
16906
|
-
- CompanyID
|
|
16907
|
-
- CustomerID
|
|
16908
16693
|
ResponseEntityItemMasterSearchResponse:
|
|
16909
16694
|
type: object
|
|
16910
16695
|
properties:
|
|
@@ -17399,10 +17184,6 @@ components:
|
|
|
17399
17184
|
Paging:
|
|
17400
17185
|
$ref: "#/components/schemas/Paging6"
|
|
17401
17186
|
description: Page Object
|
|
17402
|
-
required:
|
|
17403
|
-
- FacilityID
|
|
17404
|
-
- CustomerID
|
|
17405
|
-
- CompanyID
|
|
17406
17187
|
ResponseEntityImportItemMasterResponse:
|
|
17407
17188
|
type: object
|
|
17408
17189
|
properties:
|
|
@@ -17442,9 +17223,6 @@ components:
|
|
|
17442
17223
|
$ref: "#/components/schemas/AsnContent"
|
|
17443
17224
|
description: ""
|
|
17444
17225
|
required:
|
|
17445
|
-
- CompanyID
|
|
17446
|
-
- CustomerID
|
|
17447
|
-
- FacilityID
|
|
17448
17226
|
- ASNContent
|
|
17449
17227
|
AsnContent:
|
|
17450
17228
|
type: object
|
|
@@ -17964,10 +17742,6 @@ components:
|
|
|
17964
17742
|
Paging:
|
|
17965
17743
|
$ref: "#/components/schemas/Paging8"
|
|
17966
17744
|
description: Paging information
|
|
17967
|
-
required:
|
|
17968
|
-
- FacilityID
|
|
17969
|
-
- CustomerID
|
|
17970
|
-
- CompanyID
|
|
17971
17745
|
ResponseEntityRnHeaderSearchResponse:
|
|
17972
17746
|
type: object
|
|
17973
17747
|
properties:
|
|
@@ -18017,10 +17791,6 @@ components:
|
|
|
18017
17791
|
examples:
|
|
18018
17792
|
- Cancel by consumer
|
|
18019
17793
|
maxLength: 50
|
|
18020
|
-
required:
|
|
18021
|
-
- CompanyID
|
|
18022
|
-
- FacilityID
|
|
18023
|
-
- CustomerID
|
|
18024
17794
|
ResponseEntity?:
|
|
18025
17795
|
type: object
|
|
18026
17796
|
properties: {}
|
|
@@ -18074,10 +17844,6 @@ components:
|
|
|
18074
17844
|
Paging:
|
|
18075
17845
|
$ref: "#/components/schemas/Paging10"
|
|
18076
17846
|
description: ""
|
|
18077
|
-
required:
|
|
18078
|
-
- CompanyID
|
|
18079
|
-
- FacilityID
|
|
18080
|
-
- CustomerID
|
|
18081
17847
|
ResponseEntityRnAckResponse:
|
|
18082
17848
|
type: object
|
|
18083
17849
|
properties:
|
|
@@ -18174,10 +17940,6 @@ components:
|
|
|
18174
17940
|
description: Created To
|
|
18175
17941
|
Paging:
|
|
18176
17942
|
$ref: "#/components/schemas/Paging11"
|
|
18177
|
-
required:
|
|
18178
|
-
- CompanyID
|
|
18179
|
-
- FacilityID
|
|
18180
|
-
- CustomerID
|
|
18181
17943
|
ResponseEntityRcSearchResponse:
|
|
18182
17944
|
type: object
|
|
18183
17945
|
properties:
|
|
@@ -18417,10 +18179,6 @@ components:
|
|
|
18417
18179
|
Paging:
|
|
18418
18180
|
$ref: "#/components/schemas/Paging"
|
|
18419
18181
|
description: Page Object
|
|
18420
|
-
required:
|
|
18421
|
-
- CompanyID
|
|
18422
|
-
- CustomerID
|
|
18423
|
-
- FacilityID
|
|
18424
18182
|
Paging:
|
|
18425
18183
|
type: object
|
|
18426
18184
|
properties:
|
|
@@ -18552,10 +18310,6 @@ components:
|
|
|
18552
18310
|
Paging:
|
|
18553
18311
|
$ref: "#/components/schemas/Paging2"
|
|
18554
18312
|
description: Page Object
|
|
18555
|
-
required:
|
|
18556
|
-
- FacilityID
|
|
18557
|
-
- CustomerID
|
|
18558
|
-
- CompanyID
|
|
18559
18313
|
Paging2:
|
|
18560
18314
|
type: object
|
|
18561
18315
|
properties:
|
|
@@ -18651,10 +18405,6 @@ components:
|
|
|
18651
18405
|
Paging:
|
|
18652
18406
|
$ref: "#/components/schemas/Paging4"
|
|
18653
18407
|
description: Page Object
|
|
18654
|
-
required:
|
|
18655
|
-
- FacilityID
|
|
18656
|
-
- CustomerID
|
|
18657
|
-
- CompanyID
|
|
18658
18408
|
Paging4:
|
|
18659
18409
|
type: object
|
|
18660
18410
|
properties:
|
|
@@ -18757,10 +18507,6 @@ components:
|
|
|
18757
18507
|
Paging:
|
|
18758
18508
|
$ref: "#/components/schemas/Paging6"
|
|
18759
18509
|
description: Page Object
|
|
18760
|
-
required:
|
|
18761
|
-
- FacilityID
|
|
18762
|
-
- CustomerID
|
|
18763
|
-
- CompanyID
|
|
18764
18510
|
Paging6:
|
|
18765
18511
|
type: object
|
|
18766
18512
|
properties:
|
|
@@ -18835,10 +18581,6 @@ components:
|
|
|
18835
18581
|
Paging:
|
|
18836
18582
|
$ref: "#/components/schemas/Paging8"
|
|
18837
18583
|
description: Paging information
|
|
18838
|
-
required:
|
|
18839
|
-
- FacilityID
|
|
18840
|
-
- CustomerID
|
|
18841
|
-
- CompanyID
|
|
18842
18584
|
ResponseEntityInventoryLotNoLevelSearchResponse:
|
|
18843
18585
|
type: object
|
|
18844
18586
|
properties:
|
|
@@ -18869,10 +18611,6 @@ components:
|
|
|
18869
18611
|
Paging:
|
|
18870
18612
|
$ref: "#/components/schemas/Paging10"
|
|
18871
18613
|
description: ""
|
|
18872
|
-
required:
|
|
18873
|
-
- FacilityID
|
|
18874
|
-
- CustomerID
|
|
18875
|
-
- CompanyID
|
|
18876
18614
|
ResponseEntityInventoryItemLevelSearchResponse:
|
|
18877
18615
|
type: object
|
|
18878
18616
|
properties:
|
|
@@ -18907,10 +18645,6 @@ components:
|
|
|
18907
18645
|
PONo:
|
|
18908
18646
|
type: string
|
|
18909
18647
|
description: PO Number
|
|
18910
|
-
required:
|
|
18911
|
-
- CompanyID
|
|
18912
|
-
- CustomerID
|
|
18913
|
-
- FacilityID
|
|
18914
18648
|
ResponseEntityInboundSerialNumberResponse:
|
|
18915
18649
|
type: object
|
|
18916
18650
|
properties:
|
|
@@ -18962,10 +18696,6 @@ components:
|
|
|
18962
18696
|
PONo:
|
|
18963
18697
|
type: string
|
|
18964
18698
|
description: PO Number
|
|
18965
|
-
required:
|
|
18966
|
-
- CompanyID
|
|
18967
|
-
- CustomerID
|
|
18968
|
-
- FacilityID
|
|
18969
18699
|
ResponseEntityOutboundSerialNumberResponse:
|
|
18970
18700
|
type: object
|
|
18971
18701
|
properties:
|
|
@@ -19012,10 +18742,6 @@ components:
|
|
|
19012
18742
|
Paging:
|
|
19013
18743
|
$ref: "#/components/schemas/Paging8"
|
|
19014
18744
|
description: Paging information
|
|
19015
|
-
required:
|
|
19016
|
-
- FacilityID
|
|
19017
|
-
- CustomerID
|
|
19018
|
-
- CompanyID
|
|
19019
18745
|
Paging8:
|
|
19020
18746
|
type: object
|
|
19021
18747
|
properties:
|
|
@@ -19081,10 +18807,6 @@ components:
|
|
|
19081
18807
|
Paging:
|
|
19082
18808
|
$ref: "#/components/schemas/Paging10"
|
|
19083
18809
|
description: ""
|
|
19084
|
-
required:
|
|
19085
|
-
- FacilityID
|
|
19086
|
-
- CustomerID
|
|
19087
|
-
- CompanyID
|
|
19088
18810
|
Paging10:
|
|
19089
18811
|
type: object
|
|
19090
18812
|
properties:
|
|
@@ -19139,10 +18861,6 @@ components:
|
|
|
19139
18861
|
description: Created To
|
|
19140
18862
|
Paging:
|
|
19141
18863
|
$ref: "#/components/schemas/Paging11"
|
|
19142
|
-
required:
|
|
19143
|
-
- CompanyID
|
|
19144
|
-
- CustomerID
|
|
19145
|
-
- FacilityID
|
|
19146
18864
|
ResponseEntityDnItemQueryResponse:
|
|
19147
18865
|
type: object
|
|
19148
18866
|
properties:
|
|
@@ -19210,10 +18928,6 @@ components:
|
|
|
19210
18928
|
description: Created To
|
|
19211
18929
|
Paging:
|
|
19212
18930
|
$ref: "#/components/schemas/Paging11"
|
|
19213
|
-
required:
|
|
19214
|
-
- CompanyID
|
|
19215
|
-
- CustomerID
|
|
19216
|
-
- FacilityID
|
|
19217
18931
|
ResponseEntityDnHeaderQueryResponse:
|
|
19218
18932
|
type: object
|
|
19219
18933
|
properties:
|
|
@@ -19276,9 +18990,6 @@ components:
|
|
|
19276
18990
|
description: com.item.wms.interfaces.bam.dtos.publicapi.UploadMultipleLabelsDto.FileData
|
|
19277
18991
|
description: File Array
|
|
19278
18992
|
required:
|
|
19279
|
-
- CompanyID
|
|
19280
|
-
- CustomerID
|
|
19281
|
-
- FacilityID
|
|
19282
18993
|
- ReferenceNo
|
|
19283
18994
|
- DocumentType
|
|
19284
18995
|
- Files
|
|
@@ -19354,9 +19065,6 @@ components:
|
|
|
19354
19065
|
type: string
|
|
19355
19066
|
description: File Name
|
|
19356
19067
|
required:
|
|
19357
|
-
- CompanyID
|
|
19358
|
-
- FacilityID
|
|
19359
|
-
- CustomerID
|
|
19360
19068
|
- ReferenceNo
|
|
19361
19069
|
- DocumentType
|
|
19362
19070
|
- FileData
|
|
@@ -19396,10 +19104,6 @@ components:
|
|
|
19396
19104
|
description: Created To
|
|
19397
19105
|
Paging:
|
|
19398
19106
|
$ref: "#/components/schemas/Paging11"
|
|
19399
|
-
required:
|
|
19400
|
-
- CompanyID
|
|
19401
|
-
- FacilityID
|
|
19402
|
-
- CustomerID
|
|
19403
19107
|
ListDcSearchResult:
|
|
19404
19108
|
type: object
|
|
19405
19109
|
properties:
|
|
@@ -19918,10 +19622,6 @@ components:
|
|
|
19918
19622
|
description: Created To
|
|
19919
19623
|
Paging:
|
|
19920
19624
|
$ref: "#/components/schemas/Paging11"
|
|
19921
|
-
required:
|
|
19922
|
-
- CompanyID
|
|
19923
|
-
- FacilityID
|
|
19924
|
-
- CustomerID
|
|
19925
19625
|
Paging11:
|
|
19926
19626
|
$id: "#/definitions/32f65c0b-4006-4166-a65f-f09aaeb88082"
|
|
19927
19627
|
type: object
|
|
@@ -20012,10 +19712,6 @@ components:
|
|
|
20012
19712
|
type: string
|
|
20013
19713
|
description: Reason for cancellation
|
|
20014
19714
|
maxLength: 50
|
|
20015
|
-
required:
|
|
20016
|
-
- CompanyID
|
|
20017
|
-
- CustomerID
|
|
20018
|
-
- FacilityID
|
|
20019
19715
|
ResponseEntityDnCancellationResponse:
|
|
20020
19716
|
type: object
|
|
20021
19717
|
properties:
|
|
@@ -20049,9 +19745,6 @@ components:
|
|
|
20049
19745
|
$ref: "#/components/schemas/PoContent"
|
|
20050
19746
|
description: ""
|
|
20051
19747
|
required:
|
|
20052
|
-
- CompanyID
|
|
20053
|
-
- CustomerID
|
|
20054
|
-
- FacilityID
|
|
20055
19748
|
- POContent
|
|
20056
19749
|
PoContent:
|
|
20057
19750
|
type: object
|
package/package.json
CHANGED
package/scripts/sync-openapi.js
CHANGED
|
@@ -70,6 +70,27 @@ function ensureDir(dirPath) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function stripDefaultParamRequired(node) {
|
|
74
|
+
if (!node || typeof node !== 'object') {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (Array.isArray(node)) {
|
|
78
|
+
node.forEach(stripDefaultParamRequired);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (Array.isArray(node.required)) {
|
|
82
|
+
const next = node.required.filter((key) => !DEFAULT_PARAM_KEYS.includes(key));
|
|
83
|
+
if (next.length > 0) {
|
|
84
|
+
node.required = next;
|
|
85
|
+
} else {
|
|
86
|
+
delete node.required;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
for (const value of Object.values(node)) {
|
|
90
|
+
stripDefaultParamRequired(value);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
73
94
|
function parseOpenApi(raw) {
|
|
74
95
|
if (!raw || !raw.trim()) {
|
|
75
96
|
throw new Error('OpenAPI content is empty.');
|
|
@@ -259,6 +280,7 @@ async function main() {
|
|
|
259
280
|
fs.writeFileSync(SNAPSHOT_PATH, raw.endsWith('\n') ? raw : `${raw}\n`);
|
|
260
281
|
|
|
261
282
|
const openapi = parseOpenApi(raw);
|
|
283
|
+
stripDefaultParamRequired(openapi);
|
|
262
284
|
if (!openapi || !openapi.paths) {
|
|
263
285
|
throw new Error('Invalid OpenAPI content: missing "paths".');
|
|
264
286
|
}
|