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

models.autoRealization.Tests.M2.Reuse.Reuse_SingleAndMultiValuedRoots.rapid Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
import TaxBlasterData.Model from "../../../models/TaxBlasterDataModel.rapid" as data

rapidModel TaxBlaster
	resourceAPI TaxBlasterAPI baseURI "http://taxblaster.com/api"

		with autoRealizations
			"./Reuse_SingleAndMultiValuedRoots.yaml"
			
		/** testing */
		collectionResource PersonCollection type Person
			URI /people
			mediaTypes
				application/json
			method GET getPeople
				request
				response with this PersonCollection statusCode 200
			method POST postPerson
				request with type Person
				response with type Person statusCode 200
				response statusCode 400
				
		collectionResource AccountantClients type Person
			URI /accountant/{accountantID}/clients
				required templateParam accountantID type string
			method GET getClients
				request
				response with this AccountantClients statusCode 200
			method POST postAccountantClients
				request with type Person
				response with type Person statusCode 200
				response statusCode 400
				
		objectResource PersonObject type Person
			URI /people/{id}
			mediaTypes
				application/json
			method GET getPersonObject
				request
				response with type Person statusCode 200




© 2015 - 2024 Weber Informatics LLC | Privacy Policy