gs-node-service
gs-node-service copied to clipboard
Schema handling enhancements
The Problem
- [x] Bug: The generated resposnes schema of gen-crud-api does not have response status set in it. CHeck this issue
- [x] somewhat bug: In generated swagger schema, add components section, replacing the definitions object currently put in it. the standard uses components in a swagger spec, not definitions.
- [x] We do not support handling multiple eventsources in a single event definition. for ex. `graphql & http.get./anything' Doing this should enable:
- [x] Godspeed CLI: gen-graphql-schema should work with the events which have only graphql or
graphql & http & anothereventsource set. It should generate graphql schema with all events having graphql in it. Or any name for a graphql eventsource set in the project. Check this issue in godspeed-cli - [x] When graphql server boots up, it will show all graphql type events as present in the graphql.graphql file
- [x] The swagger json generated as part of http server bootup should also get all http events, whether only http or
graphql & http & something
- [x] Godspeed CLI: gen-graphql-schema should work with the events which have only graphql or
The Solution
Change in godspeed-cli, godspeed-api-generator and gs-node-service