Use conditional schema for endpoints
Merge pull request #68 from pcarlisle/conditional

Use conditional schema for endpoints