Open nofun97 opened 4 years ago
Some more thought should be put into how sysl-catalog
integrates with the codegen capabilities of sysl.
Given our current approach with sysl catalog, we probably no longer need this feature to be implemented, since sysl-catalog recommends specs are served centrally rather than on a per-service basis.
A clarified process for how a user generates code, and creates documentation would help solidify the use-case. Ideally, an example tutorial that takes a new user through writing some sysl, running the codegen and using sysl-catalog to produce documentation for their service.
It was removed in #22 due to #21. We still need this feature. More research on resource injection tool is required.
Feature descriptions: Generated code will need some additional endpoints that serve SwaggerUI and Redoc. The endpoints are
/-/endpoints/swaggerui/
and/-/endpoints/redoc/
respectively.As @anzdaddy suggested: