Best of OpenAPI2024

  1. 1
    Article
    Avatar of nordicapisNordic APIs·2y

    Introduction to TypeSpec

    TypeSpec is an API description language that aims to differentiate itself from OpenAPI. It was created by Microsoft to meet the needs of a large and varied developer community. The language is lightweight, easy to integrate with OpenAPI, and allows API guidelines to be expressed in reusable code. However, it may not be suitable for those who prefer a code-first approach or graphical tools for API design.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a CRUD REST API with NestJS, Docker, Swagger, and Prisma

    Learn how to build a CRUD REST API with NestJS, Docker, Swagger, and Prisma. Explore the power of NestJS, Docker, Swagger, and Prisma to implement CRUD operations for managing recipes.

  3. 3
    Article
    Avatar of nordicapisNordic APIs·2y

    10 Best API Documentation Tools for 2024

    API documentation is a pivotal aspect of both user experience (UX) and developer experience (DX). The post lists ten top API documentation tools for 2024, highlighting features like interactive documentation, AI-driven generation, and support for multiple programming languages. Notable mentions include Apiary, Slate, SwaggerHub, Knowl.ai, and Gitbook, each catering to different needs such as Markdown support, collaboration, and comprehensive API management. The right tool can significantly enhance API usability and developer productivity.

  4. 4
    Article
    Avatar of asayerasayer·2y

    Document your API with Swagger

    Swagger simplifies API documentation by providing clear, interactive tools that enhance the API development process. It allows developers to define endpoints, parameters, and responses efficiently. Built on the OpenAPI Specification, Swagger supports multiple programming languages and frameworks, offering both online and local installation options. The tool's advanced features include code generation, testing, and customization, making it a powerful asset for creating comprehensive and user-friendly API documentation.

  5. 5
    Article
    Avatar of nordicapisNordic APIs·2y

    8 Tools To Automatically Generate API Documentation

    API documentation is crucial for communication between developers and end users. This post highlights top tools for automatically generating API documentation, including Swagger, Postman, DreamFactory, Apiary, Read the Docs, Theneo, Redocly, and ReadMe. Each tool offers unique features, integration options, and levels of automation, which can be selected based on specific API requirements and team workflows.

  6. 6
    Article
    Avatar of awegoAwesome Go·2y

    The value of API-First design on side-projects

    API-First design prioritizes the development of APIs before implementing other parts of a software system. It places the API at the center of the development process, facilitating the creation of a well-designed and consistent API that serves as the foundation for the entire application. By using tools like OpenAPI Specification, developers can generate backend and frontend code, ensuring better synchronization and saving time. This method leads to improved development speed, reduced errors, and better API documentation, making it a highly beneficial approach for side projects.

  7. 7
    Article
    Avatar of trendyoltechTrendyol Tech·2y

    Swagger Annotation Checker for NestJS Projects

    Learn about the nest-swagger-checker package developed by Semih from Trendyol Tech to standardize Swagger UI in NestJS projects. The package checks Swagger-related decorators and ensures consistency in API documentation. Configurable to suit different project needs, it simplifies maintaining documentation standards across teams. The post also introduces an associated eslint plugin for real-time code checking.

  8. 8
    Article
    Avatar of lnLaravel News·2y

    Add Swagger UI to Your Laravel Application

    The Laravel Swagger UI package allows developers to easily integrate and display their project's Swagger (OpenAPI v3) file within a Laravel application. By placing the OpenAPI file in the specified directory and navigating to the correct URL, users can access the Swagger UI. The package also supports OAuth2 configuration and custom authorization logic for enhanced security.

  9. 9
    Video
    Avatar of nickchapsasNick Chapsas·2y

    Swagger is Gone in .NET 9! Replace It With This.

    Swagger has been removed in .NET 9 and replaced with Microsoft's built-in OpenAPI functionalities. To adapt to this change, developers can use the 'app.mapOpenAPI' call for API documentation without a UI. Alternatively, they can integrate third-party tools such as Swashbuckle to restore the Swagger UI, or use Scaler, which offers a modern and customizable API documentation UI. Scaler provides various themes and integration options, including dark mode and authentication schemes, making it a versatile alternative.

  10. 10
    Article
    Avatar of nordicapisNordic APIs·2y

    API Design in the Post-OpenAPI Era

    New description languages and frameworks are influencing API design, shifting from traditional OpenAPI Specification towards tools like TypeSpec. The aim is to reduce errors and improve the API development experience. The Platform Summit will feature experts discussing these trends, highlighting tools that support API-first strategies and domain-specific languages for creating consistent API products. The role of OpenAPI is evolving into automatically generated artifacts rather than manually edited files.

  11. 11
    Article
    Avatar of devtoDEV·2y

    How to Automatically Consume RESTful APIs in Your Frontend

    Automating the consumption of RESTful APIs in the frontend using Swagger and OpenAPI can significantly reduce boilerplate code, improve efficiency, and enhance collaboration between frontend and backend teams.

  12. 12
    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.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Orion for Laravel

    Orion for Laravel is a fully-featured REST API framework that simplifies the creation of REST APIs with Laravel. It provides easy-to-use controllers, utilizes standard Laravel features, and includes an SDK and OpenAPI specs.

  14. 14
    Article
    Avatar of lnLaravel News·2y

    Automated API documentation generation for Laravel with static code analysis using Scramble

    Maintaining API documentation in Laravel can be time-consuming and error-prone when done manually with PHPDoc annotations or OpenAPI spec files. Instead, Scramble offers a streamlined solution using static code analysis, ensuring documentation remains accurate and up-to-date with code changes. Scramble automatically documents request parameters, successful and error responses, and keeps everything in sync, alleviating the effort required by developers.

  15. 15
    Article
    Avatar of dotnet.NET Blog·1y

    OpenAPI document generation in .NET 9

    ASP.NET Core in .NET 9 introduces built-in support for OpenAPI document generation, simplifying the process of documenting API endpoints. This feature supports both Minimal APIs and controller-based applications, and allows for customization via attributes and extension methods. Developers can generate OpenAPI documents at both runtime and build time, integrate metadata for better documentation, and use transformers for further customization.

  16. 16
    Article
    Avatar of devtoDEV·2y

    Writing type safe API clients in TypeScript

    Learn how to write type safe API clients in TypeScript using openapi-typescript and axios. Generate the schema from an OpenAPI spec file, integrate it into your API layer, and make API calls using the generated client. Discover the benefits and caveats of this approach.

  17. 17
    Article
    Avatar of lobstersLobsters·2y

    Why, after 6 years, I’m over GraphQL

    The author explains why they no longer recommend GraphQL due to security risks, performance issues, coupling, complexity, and more. They suggest considering an OpenAPI-compliant JSON REST API as an alternative.

  18. 18
    Article
    Avatar of planetpythonPlanet Python·2y

    On FastAPI

    FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It has excellent documentation, includes Swagger UI and Redoc out-of-the-box, and heavily depends on Pydantic for data schemas and validation.

  19. 19
    Article
    Avatar of communityCommunity Picks·2y

    Laravel OpenAPI (Swagger) Documentation Generator

    Scramble is a Laravel OpenAPI (Swagger) Documentation Generator that automatically generates API documentation without the need for manual PHPDoc annotations.

  20. 20
    Video
    Avatar of nickchapsasNick Chapsas·2y

    Swagger is Going Away in .NET 9!

    Swagger is being removed in .NET 9, but alternative packages are available. Microsoft is aiming to provide more flexibility and features with their own package. The decision has sparked a discussion on whether Microsoft should build these packages in-house or support external packages.

  21. 21
    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.

  22. 22
    Article
    Avatar of awstipAWS Tip·2y

    OpenAPI (Swagger docs) integration with serverless framework | Node.js Express.js Typescript

    This post discusses the integration of OpenAPI (Swagger docs) with the serverless framework using Node.js and Express.js with Typescript.

  23. 23
    Article
    Avatar of changelogChangelog·2y

    OpenAPI & API Design with Jamie Tanna (Go Time #328)

    This episode features Kris and Johnny with guest Jamie Tanna discussing OpenAPI, API design philosophies, versioning, and the challenges of open source maintenance. Key highlights include oapi-codegen moving to its own organization and creating a sustainable model, as well as technical insights like handling JSON fields in Go and the concept of APIs as infrastructure.

  24. 24
    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.

  25. 25
    Article
    Avatar of justjavaJust Java·2y

    Hexagonal architecture with Spring Boot demo

    A developer has created a sample project that incorporates Spring Boot, Hexagonal Architecture, Kafka, Testcontainers, OpenAPI, and additional technologies. This project is hosted on GitHub and is open for contributions to enhance its features.