models.autoRealization.Tests.M2.Reuse.Reuse_ObjectAndMessageRoots.rapid Maven / Gradle / Ivy
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