Novice: Our very small two cents
;-)
We currently develop solutions in two worlds… LoopBack/Node.js & WebApi/Asp.net
We would love to have a solution that complements each others interpretation of the concepts around
- Generic Extensions for Enum
- Implement of Enum
- Solution path to transition from Swagger Extension to first class member of Swagger 2.x schema
We currently use swagger to generate both client/server code for LoopBack & .NET, and client code in Java and PHP. When it comes to
Enum and
Additional Properties we have to deal with exceptions because like HTML specs each community is interpreting the specifications a little differently rather than each community discussing the discrepancy to improve the understanding and interpreting of the Swagger Specs.
Here is Swagger API discussion around ENUMs for C-Sharp
Here is StrongLooop / Loopback discussion around Enums
Here is how AutoRest community is currently dealing with Enums with AutoRest
We still need to investigate where the StrongLoops/ IBM thoughts on implementing Enum, and we plan to review shortly.
We just propose that all participants in providing a Swagger Code Generators to deal with Enum to converge on a solution rather than have a lot of silo implementations of swagger generic extensions for Enum.
We have investigated the following code generators to date. Non have a consist implementation to deal with
**Additional Properties** or
**Enum**
Appreciate feedback, concerns and issues with our thoughts…