gs-node-service icon indicating copy to clipboard operation
gs-node-service copied to clipboard

Schema handling enhancements

Open mastersilv3r opened this issue 1 year ago • 0 comments

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 & another eventsource 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

The Solution

Change in godspeed-cli, godspeed-api-generator and gs-node-service

mastersilv3r avatar Mar 01 '24 04:03 mastersilv3r