May 2024 Summaries
3 posts from Redocly
Filter
Month:
Year:
Post Summaries
Back to Blog
APIs are essential to modern software development and must evolve to meet business needs, necessitating well-managed and communicated changes. Effective API versioning involves updating the metadata, particularly in OpenAPI's info.version field, to reflect changes in the description rather than the API itself. A comprehensive changelog is crucial for informing users about updates, and should use accessible language, provide clear explanations of changes, and link to additional resources. Communication strategies for API updates include using RSS/Atom feeds for third-party APIs and internal notifications for company APIs, ensuring all users are informed. Additionally, maintaining high standards in API governance and linting practices helps manage versioning effectively and keeps stakeholders updated through newsletters and other communication channels.
May 22, 2024
924 words in the original blog post.
Integrating API linting into the development workflow using GitHub Actions can significantly enhance API consistency and reliability by automating the enforcement of API standards. The article outlines a process for setting up linting with Redocly's recommended ruleset, involving the creation of a GitHub Action that checks API descriptions for compliance with predefined guidelines. This process includes creating a YAML file in the repository's workflows directory, configuring the necessary tools, and automating the linting check for every pull request, providing immediate feedback on any issues. By embedding these checks into the development cycle, developers can ensure that any API changes align with governance guidelines, reducing the potential for inconsistencies and improving the overall quality of APIs. Furthermore, developers are encouraged to use the Redocly VSCode Extension for real-time feedback during local development and to customize linting configurations to better suit their organization's specific needs, utilizing resources such as the API guidelines builder and Redocly CLI cookbook for additional insights and examples.
May 15, 2024
1,031 words in the original blog post.
The article provides guidance on setting up a basic OpenAPI governance system, focusing on simplifying the process of API linting to ensure a valid API description. It critiques the complexity of recommended rulesets and suggests starting with the fundamental 'struct' rule to check the correctness of an OpenAPI file using the Redocly CLI tool. The text emphasizes the importance of continuous linting integration into CI pipelines, using GitHub Actions as an example, to ensure consistent application of API standards. By automating the linting process, developers can avoid common errors and improve API governance incrementally. The article encourages building a custom ruleset by gradually adding rules that align with the organization's goals, while also utilizing tools like VSCode extensions and ignore files to address legacy issues and manage multiple API files.
May 08, 2024
957 words in the original blog post.