-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Description / Steps to reproduce / Feature proposal
Currently user can do the following steps to create GraphQL APIs within a LoopBack app:
- Run npm i --save express express-graphql oasgraph
- Make sure the LB app has started.
- From the browser, go to http://localhost:3000/openapi.json, copy the openapi.json, and save it under the root of the LoopBack application, say
todo-openapi.json - Run
./node_modules/.bin/oasgraph todo-openapi.json - Test it by going to http://localhost:3001/graphql
Acceptance Criteria
- Determine where to put the docs.
- Perhaps as one of the tutorials in https://loopback.io/doc/en/lb4/Examples-and-tutorials.html
- Create the docs page with the above steps
- Verify the steps first as things might've changed by the time of writing.