Public bug reported: The v2/schemas/tasks and v2/schemas/task responses aren't incorrect, but they're not as accurate as they could be.
task schema: - missing "links": [{"href":"{schema}","rel":"describedby"},{"href":"{self}","rel":"self"}] - should have "additionalProperties": false - some properties are already marked "readOnly":true , but there are other properties (e.g., "id") that should also be marked as read only - could have a list of required properties added (I think that would be all except expires_at; the schema says it can have a null value, but i think in practice it doesn't appear in the response unless it's non-null) tasks schema: - same as the above readOnly situation - same as the above required and expires_at situation ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1597126 Title: problems with tasks, task schemas Status in Glance: New Bug description: The v2/schemas/tasks and v2/schemas/task responses aren't incorrect, but they're not as accurate as they could be. task schema: - missing "links": [{"href":"{schema}","rel":"describedby"},{"href":"{self}","rel":"self"}] - should have "additionalProperties": false - some properties are already marked "readOnly":true , but there are other properties (e.g., "id") that should also be marked as read only - could have a list of required properties added (I think that would be all except expires_at; the schema says it can have a null value, but i think in practice it doesn't appear in the response unless it's non-null) tasks schema: - same as the above readOnly situation - same as the above required and expires_at situation To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1597126/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp