This is a global notification. You can write markdown here! Link to official website

Soft Linking Second Page

SoftLinkOutOfOrderProperties

Tests out of order properties. By convention, id, key, version, createdAt, createdBy, lastModifiedAt and lastModifiedBy should display at the top (in that order). custom should display at the bottom. All other properties should render in the order they appear. Some types will not have all of the 'conventional' properties – i.e. cart doesn't have a key field. In this case, ordering would go id, version... etc.

id
String

Should display 1st (8th in RAML)

version
String

Should display 2nd (16th in RAML)

key
String

Should display 3rd (4th in RAML)

createdAt
DateTime

Should display 4th (15th in RAML)

createdByBETA
Object

Should display 5th (2nd in RAML)

lastModifiedAt
DateTime

Should display 6th (12th in RAML)

lastModifiedByBETA
Object

Should display 7th (10th in RAML)

eigthProperty
String

Should display 8th (1st in RAML)

ninthProperty
String

Should display 9th (3rd in RAML)

tenthProperty
String

Should display 10th (5th in RAML)

eleventhPropery
String

Should display 11th (7th in RAML)

twelthProperty
String

Should display 12th (9th in RAML)

thirteenthProperty
String

Should display 13th (11th in RAML)

fourteenthProperty
String

Should display 14th (13th in RAML)

fifteenthProperty
String

Should display 15th (14th in definition)

custom
String

Should display 16th (6th in RAML)

Example: json
{
"eigthProperty": "Should display 8th (1st in RAML)",
"createdBy": {
"firstName": "John",
"lastName": "Doe"
},
"ninthProperty": "Should display 9th (3rd in RAML)",
"key": "Should display 3rd (4th in RAML)",
"tenthProperty": "Should display 10th (5th in RAML)",
"custom": "Should display 16th (6th in RAML)",
"eleventhPropery": "Should display 11th (7th in RAML)",
"id": "Should display 1st (8th in RAML)",
"twelthProperty": "Should display 12th (9th in RAML)",
"lastModifiedBy": {
"firstName": "Jane",
"lastName": "Doe"
},
"thirteenthProperty": "Should display 13th (11th in RAML)",
"lastModifiedAt": "2016-02-28T16:41:41.090Z",
"fourteenthProperty": "Should display 14th (13th in RAML)",
"fifteenthProperty": "Should display 15th (14th in definition)",
"createdAt": "2015-02-28T16:41:41.090Z",
"version": "Should display 2nd (16th in RAML)"
}

SoftLinkArray

A type containing arrays of different kinds.

arrayOfIntExample
Array of Integer

A property with an array of ints. JSON primitive is array, display type is "Array of Int".

MinItems: 1
arrayOfUniqueIntExample
Array of Integer

A property with an array of ints in which items must be unique. JSON primitive is array, display type is "Array of Int"

MinItems: 1UniqueItems
arrayOfTwonumbersExample
Array of Integer
MinItems: 2MaxItems: 2
arrayOfFloatExample
Array of Number

An array of float. JSON primitive is array, display type is "Array of Float". !!! Until underlying libraries are fixed, this displays "Array of Number" because the pattern information is lost.

MinItems: 1MaxItems: 1
arrayOfNumberNoDefaultsExample
Array of Number

An array of float. JSON primitive is array, display type is "Array of Number"

arrayOfStringExample
Array of String

An array of strings. JSON primitive is array, display type is "Array of String"

arrayOfObjectType
Array of IntegerTestType

An array of IntegerTestType. JSON primitive is array, display type is "Array of IntegerTestType"

Example: json
{
"arrayOfIntExample": [2, 4, 2, 6, 4, 6, 2],
"arrayOfUniqueIntExample": [2, 6, 10, 14],
"arrayOfTwonumbersExample": [6, 10],
"arrayOfFloatExample": [1.64],
"arrayOfNumberNoDefaultsExample": [20, 18, 16, 14, 12],
"arrayOfStringExample": ["dogdog", "catcat", "birdbird"],
"arrayOfObjectType": [
{
"integerExample": 1554,
"integerExampleInt32": 2
},
{
"integerExample": 60000,
"integerExampleInt32": 22
}
]
}