You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generator fails to build models for schemas of type object with no/empty properties #25
There should be a pass in there when there are no fields.
Testing the fix
It looks like FastAPI always includes a properties key for empty objects (so only hits the second issue), whereas protoc-gen-openapiv2 (both before and after converting OAS v2 to OAS v3) does not (so hits both issues).
I've modified both the Pet Store samples to trigger both cases in #26.
Activity
fix: generating models with empty or missing `properties` key (sennde…