Redoc - Instant API documentation
Introduction:
THE BEST FREE API DOCUMENTATION TOOL
There are plenty of tools available for doing API documentation - some are open-source.
Today, I have found an advanced ease solution called Redoc - Easily deployable API documentation. 😇Redoc Community Edition is a free open-source software.
Redoc is an open-source tool that generates API documentation from OpenAPI specifications. It’s one of the most powerful free docs tools in the industry, producing clean, customizable documentation with an attractive three-panel design. With support for Markdown, it allows you to write and style descriptions with ease.
By default, Redoc uses a three-panel layout:
- The left panel features a search bar and navigation menu.
- The central panel contains the documentation itself.
- The Right panel contains request and response samples.
Github - https://github.com/Redocly/redoc
Installing Redoc in under 5 minutes.
Create a basic html page
with default tags and add redoc tag and add the
Ex:
<!DOCTYPE
html>
<HTML>
<head>
<title> API Documentation</title>
</head>
<body>
<redoc spec-url=API-service-v1.0.0.json'
lazy-rendering></redoc>
<script src="redoc.standalone.js">
</script>
</body>
</html>
Swagger UI
Hope this article helps !!
No comments