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
Start Butler from within CI script (npm run butler-barebones) using a hidden command line option that forces dynamic Fastify-Swagger to be used, creating API docs from the defined routes.
Wait a few seconds for Butler to start up (sleep 10)
Download API spec from Fastify Swagger ui (curl localhost:<port>/documentation/yaml > api_doc/butler-api.yaml and curl localhost:<port>/documentation/json > api_doc/butler-api.json
Stop Butler (`pkill -f '....')
Generate static ReDoc html file that can be included in the repo and linked to from Butler doc site
npm run butler-barebones
) using a hidden command line option that forces dynamic Fastify-Swagger to be used, creating API docs from the defined routes.sleep 10
)curl localhost:<port>/documentation/yaml > api_doc/butler-api.yaml
andcurl localhost:<port>/documentation/json > api_doc/butler-api.json
redoc-cli build api_doc/butler-api.yaml --output apit_doc/butler-api.html
Several challenges to solve:
The text was updated successfully, but these errors were encountered: