openEHR / specifications-ITS-REST

openEHR REST API Specifications
https://specifications.openehr.org/releases/ITS-REST/latest
Apache License 2.0
18 stars 15 forks source link

Clarify if ORIGINAL_VERSION can be returned where VERSION is expected #67

Closed serefarikan closed 6 years ago

serefarikan commented 6 years ago

This endpoint is defined as returning as VERSION but the body contents in the specification belong to an ORIGINAL_VERSION instance. Please state if inheritance for returned type should be supported and clients should consider that ORIGINAL_VERSION can be returned in this case.

serefarikan commented 6 years ago

My bad, VERSION is an abstract class so this would be ORIGINAL_VERSION