metadevpro / openapi3-ts

TS Model & utils for creating and exposing OpenAPI 3.x contracts.
MIT License
485 stars 64 forks source link

fix: type is mandatory #49

Closed XVincentX closed 5 years ago

XVincentX commented 5 years ago

According to the OpenAPI 3.0 specification, type Value MUST be a string. Multiple types via an array are not supported.