Sphereon-Opensource / pex-openapi

Decentralized Identity Foundation : Presentation Exchange : API
Apache License 2.0
1 stars 6 forks source link

separated implementation of enums #7

Closed hrehman-sphereon closed 3 years ago

hrehman-sphereon commented 3 years ago

As a quick check, I'm wondering how the enum names in the YAML get translated into typescript. I would expect for instance, that in code a RuleEnum or a MandatingEnum would be called Rule or Predicate respectively, rather than including the redundant Enum naming.

In type script it is indeed named predicate. predicate?: MandatingEnum;