-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathapi.yaml
More file actions
789 lines (779 loc) · 22.8 KB
/
Copy pathapi.yaml
File metadata and controls
789 lines (779 loc) · 22.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
openapi: 3.0.1
info:
title: Test API
description: Test API.
version: 1.0.0
servers:
- url: https://localhost/api/v1
paths:
/test-auth-bearer:
get:
operationId: testAuthBearer
parameters:
- name: qo
in: query
schema:
type: string
- name: qr
in: query
required: true
schema:
type: string
- name: cursor
in: query
description: An opaque identifier that points to the next item in the collection.
schema:
minimum: 1
type: string
responses:
200:
description: Will send `Authenticated`
403:
description: You do not have necessary permissions for the resource
security:
- bearerToken: []
/test-auth-bearer-http:
get:
operationId: testAuthBearerHttp
parameters:
- name: qo
in: query
schema:
type: string
- name: qr
in: query
required: true
schema:
type: string
- name: cursor
in: query
description: An opaque identifier that points to the next item in the collection.
schema:
minimum: 1
type: string
responses:
200:
description: Will send `Authenticated`
403:
description: You do not have necessary permissions for the resource
security:
- bearerTokenHttp: []
/test-simple-token:
get:
operationId: "testSimpleToken"
security:
- simpleToken: []
parameters:
- name: "qo"
in: "query"
required: false
schema:
type: "string"
- name: "qr"
in: "query"
required: true
schema:
type: "string"
- $ref: "#/components/parameters/PaginationRequest"
responses:
"200":
description: "Will send `Authenticated`"
"403":
description: "You do not have necessary permissions for the resource"
/test-multiple-success:
get:
operationId: "testMultipleSuccess"
responses:
"200":
description: "Will return a Message"
content:
application/json:
schema:
$ref: "#/components/schemas/Message"
"202":
description: "Will return just accepted"
"403":
description: "You do not have necessary permissions for the resource"
content:
application/json:
schema:
$ref: "#/components/schemas/OneOfTest"
"404":
description: "Not found"
/test-file-upload:
post:
operationId: "testFileUpload"
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
"200":
description: "File uploaded"
/test-binary-file-upload:
post:
operationId: "testBinaryFileUpload"
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
"200":
description: "File uploaded"
/test-binary-file-download:
get:
operationId: testBinaryFileDownload
responses:
'200':
content:
application/octet-stream:
schema:
type: string
format: binary
example: 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
/test-response-header:
get:
operationId: "testResponseHeader"
responses:
"201":
description: "Will create a Message"
content:
application/json:
schema:
$ref: "#/components/schemas/Message"
headers:
Location:
type: string
Id:
type: string
"500":
description: "Fatal error"
/test-parameter-with-reference:
post:
operationId: "testParameterWithReference"
parameters:
- $ref: "#/components/parameters/RequestId"
responses:
201:
description: "Created"
500:
description: "Fatal error"
/test-parameter-with-body-ref:
post:
operationId: "testParameterWithBodyReference"
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/NewModel"
responses:
201:
description: "Created"
500:
description: "Fatal error"
/put-test-parameter-with-body-ref:
put:
operationId: "putTestParameterWithBodyReference"
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/NewModel"
responses:
201:
description: "Created"
500:
description: "Fatal error"
/test-parameter-with-dash/{path-param}:
get:
operationId: "testParameterWithDash"
parameters:
- name: path-param
in: path
schema:
type: string
- name: foo-bar
in: query
schema:
type: string
- name: headerInlineParam
in: header
required: true
schema:
type: string
- $ref: "#/components/parameters/RequestId"
- $ref: "#/components/parameters/HeaderParamWithReference"
responses:
"200":
description: "Ok"
"500":
description: "Fatal error"
/test-parameter-with-dash-and_underscore/{path-param}:
get:
operationId: "testParameterWithDashAnUnderscore"
parameters:
- name: path-param
in: path
schema:
type: string
- name: foo_bar
in: query
schema:
type: string
- name: headerInlineParam
in: header
schema:
type: string
required: true
- $ref: "#/components/parameters/RequestId"
- $ref: "#/components/parameters/HeaderParamWithReference"
responses:
"200":
description: "Ok"
"500":
description: "Fatal error"
/test-two-path-params/{first-param}/{second-param}:
get:
operationId: "testWithTwoParams"
parameters:
- name: first-param
in: path
schema:
type: string
- name: second-param
in: path
schema:
type: string
responses:
"200":
description: "Ok"
"500":
description: "Fatal error"
/test-path-level-parameter:
parameters:
- $ref: "#/components/parameters/RequiredRequestId"
- $ref: "#/components/parameters/PaginationRequest"
get:
operationId: "testParametersAtPathLevel"
description: when we declare parameters at path level
responses:
"200":
description: "Ok"
"500":
description: "Fatal error"
/test-simple:
patch:
operationId: "testSimplePatch"
description: simply test of patch endpoint are considered
responses:
"200":
description: "Ok"
"500":
description: "Fatal error"
/test-custom-token-header:
get:
operationId: "testCustomTokenHeader"
security:
- customToken: []
parameters: []
responses:
"200":
description: "Will send `Authenticated`"
"403":
description: "You do not have necessary permissions for the resource"
/test-with-empty-response:
get:
operationId: "testWithEmptyResponse"
responses:
"200":
$ref: "#/components/responses/NotFound"
/test-redirect-response-header:
post:
operationId: "testRedirectResponseHeader"
responses:
"302":
description: "redirect to location"
headers:
Location:
type: string
"500":
description: "Fatal error"
# -------------
# Components
# -------------
components:
# -------------
# Schemas
# -------------
schemas:
Person:
$ref: "definitions.yaml#/Person"
Book:
$ref: "definitions.yaml#/Book"
FiscalCode:
type: string
description: User's fiscal code.
pattern: "^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$"
example: SPNDNL80R13C555X
EmailAddress:
type: string
format: email
example: foobar@example.com
IsInboxEnabled:
type: boolean
default: false
description: True if the recipient of a message wants to store its content for
later retrieval.
IsWebhookEnabled:
type: boolean
default: false
description: True if the recipient of a message wants to forward the notifications to the default webhook.
Profile:
title: Profile
description: Describes the user's profile.
type: object
properties:
email:
$ref: "#/components/schemas/EmailAddress"
family_name:
type: string
fiscal_code:
$ref: "#/components/schemas/FiscalCode"
has_profile:
type: boolean
is_email_set:
type: boolean
is_inbox_enabled:
$ref: "#/components/schemas/IsInboxEnabled"
is_webhook_enabled:
$ref: "#/components/schemas/IsWebhookEnabled"
name:
type: string
preferred_email:
$ref: "#/components/schemas/EmailAddress"
preferred_languages:
$ref: "#/components/schemas/PreferredLanguages"
version:
type: integer
payload:
type: object
properties: {}
required:
- fiscal_code
- family_name
- has_profile
- is_email_set
- name
- version
SimpleDefinition:
title: SimpleDefinition
type: object
properties:
id:
type: string
required:
- id
DefinitionFieldWithDash:
type: object
properties:
id-field:
type: string
MessageSubject:
type: string
description: |-
The (optional) subject of the message - note that only some notification
channels support the display of a subject. When a subject is not provided,
one gets generated from the client attributes.
minLength: 10
maxLength: 120
example: Welcome new user !
MessageBodyMarkdown:
type: string
description: |-
The full version of the message, in plain text or Markdown format. The
content of this field will be delivered to channels that don't have any
limit in terms of content size (e.g. email, etc...).
minLength: 80
maxLength: 10000
example: |-
# This is a markdown header
to show how easily markdown can be converted to **HTML**
Remember: this has to be a long text.
MessageContent:
type: object
properties:
subject:
$ref: "#/components/schemas/MessageSubject"
markdown:
$ref: "#/components/schemas/MessageBodyMarkdown"
required:
- markdown
Message:
title: Message
type: object
properties:
id:
type: string
content:
$ref: "#/components/schemas/MessageContent"
sender_service_id:
type: string
required:
- id
- content
NewModel:
title: NewModel
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
PaginationResponse:
type: object
description: Pagination response parameters.
properties:
page_size:
type: integer
minimum: 1
description: Number of items returned for each page.
example: 2
next:
type: string
description: 'Contains an URL to GET the next #<page_size> results in the
retrieved collection of items.'
format: uri
example: https://example.com/?p=0XXX2
OneOfTest:
oneOf:
- type: object
properties:
limited:
type: boolean
- type: object
properties:
unlimited:
type: boolean
AllOfWithOneElementTest:
description: test if we can use allOf with just one element inside
allOf:
- type: object
properties:
key:
type: string
AllOfWithOneRefElementTest:
description: test if we can use allOf with just ref one element inside
allOf:
- $ref: "#/components/schemas/Profile"
AllOfWithXExtensibleEnum:
description: test if allOf with x-extensible-enum works fine
allOf:
- $ref: "#/components/schemas/Profile"
- type: object
properties:
status:
type: string
x-extensible-enum:
- ACTIVATED
required:
- status
AllOfTest:
allOf:
- type: object
properties:
items:
type: array
items:
$ref: "#/components/schemas/Message"
- $ref: "#/components/schemas/PaginationResponse"
PreferredLanguage:
type: string
x-extensible-enum:
- it_IT
- en_GB
- es_ES
- de_DE
- fr_FR
example: it_IT
PreferredLanguages:
type: array
items:
$ref: "#/components/schemas/PreferredLanguage"
description: Indicates the User's preferred written or spoken languages in order
of preference. Generally used for selecting a localized User interface. Valid
values are concatenation of the ISO 639-1 two letter language code, an underscore,
and the ISO 3166-1 2 letter country code; e.g., 'en_US' specifies the language
English and country US.
AnObjectWithAnItemsField:
description: |-
What if a object has a field named items?
The case is an object like { items: [] }, which is legal
type: object
properties:
items:
type: array
items:
$ref: "#/components/schemas/DefinitionFieldWithDash"
required:
- items
AnObjectWithRefImport:
title: AnObjectWithRefImport
description: Describes an object with a ref import
type: object
properties:
prop1:
$ref: "#/components/schemas/SimpleDefinition"
required:
- prop1
WithinRangeStringTest:
title: WithinRangeStringTest
type: string
minLength: 8
maxLength: 10
NonNegativeNumberTest:
title: NonNegativeNumberTest
type: number
minimum: 0
NonNegativeIntegerTest:
title: NonNegativeIntegerTest
type: integer
minimum: 0
WithinRangeIntegerTest:
title: WithinRangeIntegerTest
type: integer
minimum: 0
maximum: 10
WithinRangeNumberTest:
title: WithinRangeNumberTest
type: number
minimum: 0
maximum: 10
WithinRangeExclusiveMaximumIntegerTest:
title: WithinRangeExclusiveMaximumIntegerTest
type: integer
minimum: 0
maximum: 10
exclusiveMaximum: true
WithinRangeExclusiveMinimumIntegerTest:
title: WithinRangeExclusiveMinimumIntegerTest
type: integer
minimum: 0
exclusiveMinimum: true
maximum: 10
WithinRangeExclusiveMinimumNumberTest:
title: WithinRangeExclusiveMinimumNumberTest
type: number
minimum: 0
exclusiveMinimum: true
maximum: 10
WithinRangeExclusiveMinMaxIntegerTest:
title: WithinRangeExclusiveMinMaxIntegerTest
type: number
minimum: 0
exclusiveMinimum: true
maximum: 10
exclusiveMaximum: true
WithinRangeExclusiveMinMaxNumberTest:
title: WithinRangeExclusiveMinMaxNumberTest
type: number
minimum: 0
exclusiveMinimum: true
maximum: 10
exclusiveMaximum: true
WithinRangeExclusiveMaximumNumberTest:
title: WithinRangeExclusiveMaximumNumberTest
type: number
minimum: 0
maximum: 10
exclusiveMaximum: true
CustomStringFormatTest:
type: string
x-import: '@pagopa/ts-commons/lib/strings'
format: SomeCustomStringType
EnumTest:
type: object
properties:
status:
type: string
enum:
- value1
- value2
- value3
AdditionalPropsTest:
type: object
additionalProperties:
type: array
items:
type: number
AdditionalPropsTrueTest:
type: object
additionalProperties: true
AdditionalpropsDefault:
type: object
default: { "test": [1000] }
additionalProperties:
type: array
items:
type: number
InlinePropertyTest:
type: object
properties:
inlineProp:
type: string
description: The device global unique identifier.
pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
NestedObjectTest:
type: object
properties:
inlineProp:
type: string
description: The device global unique identifier.
pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
nestedObject:
type: object
properties:
inlineProp:
type: string
description: The device global unique identifier.
pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
OrganizationFiscalCode:
type: string
x-import: '@pagopa/ts-commons/lib/strings'
format: OrganizationFiscalCode
OrganizationFiscalCodeTest:
type: string
x-import: '@pagopa/ts-commons/lib/strings'
format: OrganizationFiscalCode
ListOfDefinitions:
description: |-
a definition which is a list of other definitions.
type: array
items:
type: object
properties:
field:
type: string
ListOfReferences:
description: |-
a definition which is a list of references to other definitions.
type: array
items:
$ref: "#/components/schemas/DefinitionFieldWithDash"
EnabledUserTest:
type: object
properties:
description:
type: string
enabled:
type: boolean
enum:
- true
username:
type: string
required:
- enabled
- description
- username
DisabledUserTest:
type: object
properties:
enabled:
type: boolean
enum:
- false
reason:
type: string
username:
type: string
required:
- enabled
- reason
- username
DisjointUnionsUserTest:
oneOf:
- $ref: "#/components/schemas/EnabledUserTest"
- $ref: "#/components/schemas/DisabledUserTest"
EnumTrueTest:
type: object
properties:
flag:
type: boolean
enum:
- true
EnumFalseTest:
type: object
properties:
flag:
type: boolean
enum:
- false
# -------------
# Parameters
# -------------
parameters:
PaginationRequest:
name: cursor
in: query
description: An opaque identifier that points to the next item in the collection.
schema:
minimum: 1
type: string
RequestId:
name: request-id
in: query
schema:
type: string
RequiredRequestId:
name: request-id
in: query
required: true
schema:
type: string
HeaderParamWithReference:
name: x-header-param
in: header
description: A header param which has dashes in it
required: true
schema:
type: string
# -------------
# Responses
# -------------
responses:
NotFound:
description: Not found
# -------------
# Sec Schemas
# -------------
securitySchemes:
bearerToken:
type: apiKey
name: Authorization
in: header
x-auth-scheme: bearer
bearerTokenHttp:
type: http
scheme: bearer
simpleToken:
type: apiKey
name: X-Functions-Key
in: header
customToken:
type: apiKey
name: custom-token
in: header