You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. In case when the event schema does not have operationId, id or summary, then the method and endpoint are used in generating the autocalculated operationId
IN this case, in the output, there are two underscore __ set in operationId of generated swagger document.
for ex. get__helloworld
2. But when there is a summary, then the first space character of the summary text is replaced with _, but remaining are not
Because of this, the graphql service start is failing.
Expected Behavior
Generated operationId from method and endpoint should be get_helloworld (a single _)
Generated operationId from summary should have all spaces replaced by as many _
Steps to Reproduce
checkout the autogenerated docs/swagger.json file in your godspeed project
Version Information
latest
Current Behavior
Because of this, the graphql service start is failing.
Expected Behavior
Steps to Reproduce
Screenshots or Screencast
2.
Possible Solutions or Workarounds
Fix swagger.ts in gs-node-service
Earlier
Notice the _ between `${method}_${apiEndPoint}
Fix
The text was updated successfully, but these errors were encountered: