models.dsl.links.DefaultResource_MultipleResourcesWDefault.rapid Maven / Gradle / Ivy
/*
Scenario: Multiple Resources with designated default, without explicit Reference Link
*/
rapidModel MultipleResources
resourceAPI MultipleResources baseURI "http://modelsolv.com"
objectResource DataType1Object type DataType1
mediaTypes
application/xml
method GET Customer
request
response DataType1Object statusCode 200
objectResource DataType2Object1 type DataType2
default collectionResource DataType2Object2 type DataType2
dataModel MultipleResources
structure DataType1
dataType1ID : string
CustomerName : string
dataType1_reference1 : reference DataType2*
structure DataType2
dataType2ID : string