(Schema) Expose valid enum constants

Registered by Morten Olav Hansen on 2015-03-23

For properties that are enums, we should expose the valid choices, so its easier to client side validation, etc.

We should also make use of more enums our domain classes (instead of string constants), but that will be added in a later blueprint.

Example can be seen here:
https://apps.dhis2.org/dev/api/schemas/dataElement/domainType

Blueprint information

Status:
Complete
Approver:
Morten Olav Hansen
Priority:
Medium
Drafter:
Morten Olav Hansen
Direction:
Approved
Assignee:
Morten Olav Hansen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.19
Started by
Morten Olav Hansen on 2015-03-23
Completed by
Morten Olav Hansen on 2015-03-23

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.