There are five core user interfaces available:
If you add an API specification, the documentation and console UIs will be used by default. For example, with the minimal configuration:
specifications:
acme_api:
- openapi: ./openapi.yml
LucyBot will create pages at the following URLs:
/acme_api/documentation
/acme_api/console
You can define the routes
field in LucyBot.yml to control the URL structure
of your documentation.
routes:
/:
redirect: '/docs'
/docs:
ui: documentation
for: acme_api
/console:
ui: console
for: acme_api
/terms:
ui: markdown
markdownFile: ./html/TermsOfService.html
specifications:
acme_api:
- openapi: ./openapi.yml