nasa / utm-apis

The collection of APIs for NASA's UTM project in the form of OpenAPI documents.
55 stars 35 forks source link

contingency_plans in Operations is not required, but min length is 1 #137

Closed sjurcak closed 5 years ago

sjurcak commented 5 years ago

Operations does not require contingency_plans, but the minimum length of the array is 1.

issmith1 commented 5 years ago

when this is resolved please assign to UTM Software so the workaround is removed.

nasajoey commented 5 years ago

Just to clarify, this is two different issues, one of which is invalid.

1: We actually want contingency_plans to be required. Will make this edit. 2: When an array field is not required AND has minItems > 0, this is not a problem. If the field is not included, then its length is not checked. Analogy to optional string that have minLength > 0. If the element is not included, then its length is not checked.

nasajoey commented 5 years ago

contingency plans will be required as of sprint 4.