airr-community / airr-standards

AIRR Community Data Standards
https://docs.airr-community.org
Creative Commons Attribution 4.0 International
35 stars 23 forks source link

extensions fields in openapi3 of ADC API has incorrect nullable #657

Closed schristley closed 11 months ago

schristley commented 1 year ago

In openapi2, nullable was not a field attribute, so it was added into x-airr so that code would know if null was allowed or not. With openapi3, nullable is a field attribute, however the extension fields are still using the older x-airr setting. This can cause openapi3 middleware to fail if it validates requests or responses because nullable: false is the default.