Dorthu / openapi3

A Python3 OpenAPI 3 Spec Parser
BSD 3-Clause "New" or "Revised" License
118 stars 47 forks source link

Enforce required fields for Contact element #45

Closed Dorthu closed 3 years ago

Dorthu commented 3 years ago

The OpenAPI standard requires a Contact object to have all of "name", "url", and "email". This library was not enforcing those requirements.

This change enforces that all three elements of a Contact field are required.