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
autodiscovery: connectors should add enum constraint to the discovered definitions where applicable
JSON Schema and OpenAPI: code converting model definitions to JSON Schema and OpenAPI Schema should recognize enum and include the constraint in the schema produced
Implement a new property type - enum (enumeration).
Example model definition:
This issue is a replacement for strongloop/loopback#1321 that's tracking ENUM feature request in LoopBack 3.x
Areas to cover:
stringandnumberas a backing datatypecreateandupdateAttributesenumconstraint to the discovered definitions where applicableenumand include the constraint in the schema produced@loopback/restshould validate ENUM constraints for input parameters, see Complex OpenAPI Validations with@property#1624