Manually writing documentation for your REST API can be time consuming. To help, GitBook supports importing OpenAPI documents, which describe your API, and provides API Blocks to automatically represent your API methods based on the specification you provide, either as a file, or as a URL for GitBook to load.