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

models.autoRealization.Tests.M2.Reuse.Reuse_ObjectAndMessageRoots.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_ObjectAndMessageRoots.yaml"
			
		/** testing */
		collectionResource PersonCollection type Person
			URI /people
			with all properties including
				taxpayerID!
			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
				
		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