Best of OpenAPIDecember 2024

  1. 1
    Article
    Avatar of lnLaravel News·1y

    Automated API documentation of Laravel API resources

    API resources enhance the handling of data transformations for API responses in Laravel. Scramble is an automatic OpenAPI documentation generator that supports Laravel API resources without requiring PHPDoc annotations. With its latest update, it now fully supports API resource payload-building methods, ensuring accurate and up-to-date documentation.

  2. 2
    Article
    Avatar of baeldungBaeldung·1y

    Automated Testing for OpenAPI Endpoints Using CATS

    Explores the use of CATS (Contract Auto Test Service) for automated testing of REST APIs with OpenAPI configurations. CATS generates and runs tests based on the API contract, simplifying the testing process and improving API reliability by identifying potential issues early. Key features include automatic test generation, HTML report creation, and integration with authorization requirements. The post provides a detailed guide on installing CATS, configuring tests, and analyzing test reports to address common API issues.

  3. 3
    Article
    Avatar of logrocketLogRocket·1y

    Generating OpenAPI API clients for Angular

    Generating OpenAPI API clients can streamline the development process for Angular applications, allowing developers to generate client modules automatically based on a standard API specification. This process saves time, reduces errors, and ensures consistent implementation. The tutorial covers using OpenAPI Generator CLI to create and integrate API clients into an Angular project, with detailed steps on setting up dependencies, generating code, and best practices for maintaining quality and manageability.