models.dsl.EmbedInheritedProperty.rapid Maven / Gradle / Ivy
namespace org
rapidModel bug
resourceAPI api baseURI "http://api.bug.org"
objectResource PersonObject bound to type Person
URI /people/{uuid}
required templateParam uuid bound to property uuid
referenceEmbed > history
method GET getPerson
request
response PersonObject statusCode 200
collectionResource AuditEventCollection bound to type AuditEvent
all properties
excluding
person
dataModel model
simpleType UUID as string
structure Auditable
uuid: UUID
history: reference to AuditEvent*
structure Person extends Auditable
firstName: string
lastName: string
structure AuditEvent
uuid: UUID
timestamp: dateTime
person: reference to Person
^type: AuditEventType
auditableEntityUuid: UUID
auditableEntityName: string
enum string AuditEventType
CREATED: "Created"
READ: "Read"
UPDATED: "Updated"
DELETED: "Deleted"