Skip to content

Commit 34ded54

Browse files
committed
Updated API from documentation release
1 parent 5b17ec6 commit 34ded54

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

api-specs/test/types/annotations-test-type.raml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,53 @@ types:
1919
description: Deprecated property. THIS MUST NOT BE RENDERED AT ALL (=hidden in documentation, it just stays there to keep SDKs backwards compatible).
2020
type: string
2121
(annotations.deprecated): true
22+
23+
AdditionalInfoTestType:
24+
properties:
25+
additionalInfoProperties:
26+
type: number
27+
minimum: 3600
28+
maximum: 604800
29+
default: 172800
30+
description: Additional info property. Added to test the additional info annotation.
31+
optionalBoolean?:
32+
type: boolean
33+
description: |
34+
Optional field with a default value.
35+
default: true
36+
minMaxItems:
37+
type: string[]
38+
minItems: 1
39+
maxItems: 10
40+
description: |
41+
Array with minimum and maximum items.
42+
patternField:
43+
type: string
44+
description: |
45+
String pattern field.
46+
minLength: 2
47+
maxLength: 256
48+
pattern: ^[A-Za-z0-9_-]+$
49+
50+
SortingTestType:
51+
properties:
52+
fifthProperty:
53+
type: string
54+
description: |
55+
Fifth property in the sorting test type.
56+
thirdProperty:
57+
type: string
58+
description: |
59+
Third property in the sorting test type.
60+
fourthProperty:
61+
type: string
62+
description: |
63+
Fourth property in the sorting test type.
64+
firstProperty:
65+
type: string
66+
description: |
67+
First property in the sorting test type.
68+
secondProperty:
69+
type: string
70+
description: |
71+
Second property in the sorting test type.

0 commit comments

Comments
 (0)