All Downloads are FREE. Search and download functionalities are using the official Maven repository.

models.dsl.links.DefaultResource_AssignedTargetResource.rapid Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
/* 
Scenario: Explicit Resource Specified by Referrer
If the referrer has a Reference Link that specifies the target resource, 
this should always, work regardless of whether there is a default.
*/
rapidModel AssignedResource
	resourceAPI AssignedResource baseURI "http://modelsolv.com"
		objectResource DataType1Object type DataType1
			referenceLink > dataType1_reference1
				targetResource DataType2Object2

			method GET Customer
				request
				response DataType1Object statusCode 200


		objectResource DataType2Object1 type DataType2

		objectResource DataType2Object2 type DataType2


	dataModel AssignedResource
		structure DataType1
			dataType1ID : string
			CustomerName : string
			dataType1_reference1 : reference DataType2*

		structure DataType2
			dataType2ID : string






© 2015 - 2024 Weber Informatics LLC | Privacy Policy