astm-utm / Protocol

ASTM UTM Protocol (API and sequence diagrams)
16 stars 11 forks source link

Clean up missing OVNs response #37

Closed BenjaminPelletier closed 3 years ago

BenjaminPelletier commented 4 years ago

The 409 response for missing OVNs should be cleaned up. First, we can only indicate which entities do not have a current OVN provided (we can't determine whether an old OVN was provided for them), so the field should probably be missing_entities rather than entity_conflicts. Also, there doesn't seem to be an advantage to overloading each element of entity_conflicts; we should instead have two top-level arrays named missing_operations and missing_constraints.