Redocly CLI - The Super Tool For API Management |
Written by Nikos Vaggalis |
Monday, 25 September 2023 |
Redocly is an open source tool written in Typescript that We've recently covered the importance of documenting So here's another great tool, Redocly CLI, that provides a holistic approach to API management. It empowers developers to comply to API design standards, produce excellent documentation, and expedite development cycles. With it you can automate critical tasks for smooth deployment, generate publication-ready HTML documentation, bundle OpenAPI files and transform existing descriptions seamlessly. In detail its features are :
In the openapi directory, the split command "unbundles" the specified API description. Code samples, components, and paths are split from the root API description into separate files and folders.Then bundle with :
The tool Supports OpenAPI 3. 1, 3. 0 and OpenAPI 2. 0 (legacy Swagger format). Written in Typescript, it can be installed as:
or:
It is also available as a Docker image for portability. In conclusion, Redocly gives you some superior options. On the one hand you can design and experiment with your APIs locally and then push into production, while on the other, by incorporating it in your CI workflow you can check commits against standards and generate documentation.
More InformationRelated ArticlesLearn To Document Your API Correctly OpenAPI Diff Prevents API Breakages
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
Last Updated ( Monday, 25 September 2023 ) |