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.
idString | Should display 1st (8th in RAML) |
versionString | Should display 2nd (16th in RAML) |
keyString | Should display 3rd (4th in RAML) |
createdAtDateTime | Should display 4th (15th in RAML) |
createdByBETAObject | Should display 5th (2nd in RAML) |
lastModifiedAtDateTime | Should display 6th (12th in RAML) |
lastModifiedByBETAObject | Should display 7th (10th in RAML) |
eigthPropertyString | Should display 8th (1st in RAML) |
ninthPropertyString | Should display 9th (3rd in RAML) |
tenthPropertyString | Should display 10th (5th in RAML) |
eleventhProperyString | Should display 11th (7th in RAML) |
twelthPropertyString | Should display 12th (9th in RAML) |
thirteenthPropertyString | Should display 13th (11th in RAML) |
fourteenthPropertyString | Should display 14th (13th in RAML) |
fifteenthPropertyString | Should display 15th (14th in definition) |
customString | Should display 16th (6th in RAML) |
{"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.
arrayOfIntExampleArray of Integer | A property with an array of ints. JSON primitive is 1 |
arrayOfUniqueIntExampleArray of Integer | A property with an array of ints in which items must be unique. JSON primitive is 1UniqueItems |
arrayOfTwonumbersExampleArray of Integer | MinItems: 2MaxItems: 2 |
arrayOfFloatExampleArray of Number | An array of float. JSON primitive is 1MaxItems: 1 |
arrayOfNumberNoDefaultsExampleArray of Number | An array of float. JSON primitive is |
arrayOfStringExampleArray of String | An array of strings. JSON primitive is |
arrayOfObjectTypeArray of IntegerTestType | An array of IntegerTestType. JSON primitive is |
{"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}]}