17 dépôts
Automated generation of OpenAPI documentation from API code.
Distinguishing note: Specifically targets OpenAPI/Swagger generation from existing view logic.
Explore 17 awesome GitHub repositories matching web development · API Schema Generation. Refine with filters or upvote what's useful.
FastAPI is a high-performance Python web framework designed for building REST APIs. It operates as an ASGI web framework, providing a system to create structured HTTP endpoints that automatically serialize data and validate request parameters. The framework utilizes Python type hints to drive data validation and serialization, automatically generating machine-readable OpenAPI and JSON Schema specifications. This process enables the automatic creation of interactive, browser-based API documentation where endpoints can be tested directly. The project includes a dependency injection system for
Automatically derives machine-readable OpenAPI specifications from the code to power interactive documentation.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Produces API documentation by inspecting URL patterns and view logic.
Mastra is an orchestration framework designed for building, deploying, and managing autonomous AI agents and multi-agent systems. It provides a comprehensive suite of primitives for creating resilient AI applications, including durable workflow orchestration, event-driven agent loops, and semantic memory management. By integrating these core components, the platform enables developers to build complex, multi-step processes that can reason about goals and execute tasks without manual intervention. The framework distinguishes itself through its focus on observability and secure, isolated execut
Produces machine-readable API documentation from defined schemas to facilitate client generation and integration.
Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr
Uses endpoint metadata to automatically produce standardized, machine-readable API specifications.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Generates OpenAPI and Swagger specifications from validation schemas to describe API request and response shapes.
Javalin is a lightweight web framework for Java and Kotlin designed for building REST APIs and web applications. It functions as an embedded Jetty web server, allowing applications to run as standalone processes without the need for an external servlet container. The project provides specialized frameworks for diverse communication patterns, including a REST API framework with automatic OpenAPI schema generation, a GraphQL API framework with query and mutation resolvers, and a WebSocket server for bidirectional real-time communication. It also includes a dedicated framework for pushing real-t
Provides compile-time API schema generation via annotation processing to eliminate runtime reflection overhead.
Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes non-blocking coroutines to handle high concurrency and low-latency request processing, providing a foundation for scalable distributed systems. The framework is distinguished by an aspect-oriented programming based dependency injector that enables pluggable components and meta-programming. It includes a coroutine-optimized object-relational mapper with integrated model caching and an orchestration toolkit for microservice governance, featuring service discovery, circuit breaker
Scans application paths and annotations to automatically generate interactive Swagger API documentation.
SpaceBarChat is an open-source, self-hosted chat server that implements the Discord client-server protocol, allowing existing Discord clients and bots to connect without modification. It provides a complete communication platform for real-time messaging, voice, and video, all running on your own infrastructure with data stored in a PostgreSQL database that automatically synchronizes its schema with the application source code. The platform is built on a three-service architecture that separates API, Gateway, and CDN processes, communicating via Unix domain sockets or RabbitMQ for coordination
Generate JSON schema files that validate API and gateway requests against their defined structure.
Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati
Produces Effect schema modules from OpenAPI specs for runtime validation alongside generated HTTP clients.
GraphQL.NET est un framework côté serveur pour construire et exécuter des API GraphQL au sein d'applications C#. Il fournit une boîte à outils complète pour la construction de schémas, un moteur fédéré pour les graphes de données distribués et un gestionnaire d'abonnements pour gérer les flux de données en temps réel. Le projet se distingue par un constructeur de schéma flexible qui prend en charge à la fois les définitions programmatiques code-first et les approches déclaratives schema-first utilisant le langage de définition de schéma standard. Il inclut un moteur de fédération dédié pour diviser les graphes de données en sous-graphes et les composer en une passerelle unifiée, ainsi qu'une implémentation de chargeur de données (data loader) spécifiquement conçue pour résoudre le problème de requête N+1 via le traitement par lots et la mise en cache. Le framework couvre un large éventail de capacités opérationnelles, notamment l'intégration de l'injection de dépendances pour la gestion du cycle de vie des services, des pipelines de middleware pour l'interception de la résolution de champs, et un pipeline d'exécution optimisé avec des types de valeur pour réduire les allocations mémoire. Il fournit également des outils pour l'analyse de la complexité des requêtes, la mise en cache des documents et le contrôle d'accès basé sur les rôles pour sécuriser les endpoints de l'API. La prise en charge de la compilation de schéma en avance de phase (ahead-of-time) permet au framework de s'exécuter dans des environnements qui interdisent la génération de code dynamique.
Generates compiled code for schemas at build time to eliminate runtime reflection and support JIT-less environments.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Generates Pydantic schemas from ORM models for validation and serialization in API endpoints.
wger is an open-source web application for fitness tracking, workout planning, and nutrition management. It provides a self-hosted platform where users can design weekly workout routines from a built-in exercise library, log their training progress, and plan daily meals using a food database with automatic nutritional calculations. The application supports multi-user accounts with credential-based login, passkey authentication, and third-party sign-in through OAuth providers. The platform includes a documented REST API that enables programmatic access to workout logs, meal plans, and user dat
Ships a downloadable OpenAPI 3 schema for offline use and client library generation.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Generates a JSON representation of the API specification for manual modification and serving as a static document.
Integuru est un système d'agents et de frameworks pilotés par l'IA, conçu pour documenter les API non documentées et convertir le trafic réseau en scripts d'automatisation. Il fonctionne comme un framework d'automatisation d'API headless qui remplace les outils basés sur navigateur par des requêtes HTTP directes pour augmenter le débit et la fiabilité. Le projet propose un agent de rétro-ingénierie basé sur LLM qui analyse le trafic réseau pour découvrir les API internes, ainsi qu'un moteur d'intégration en langage naturel qui transforme les descriptions textuelles de workflows en séquences d'appels API valides. Il inclut des outils pour extraire les formats de requête et de réponse afin de créer des spécifications techniques précises, et pour convertir les cookies de session capturés en scripts d'automatisation prêts pour la production. Le framework couvre un large éventail de capacités, notamment l'ingénierie de schéma, la cartographie des dépendances de requêtes et la modélisation logique basée sur l'état pour gérer des workflows d'application complexes. Il fournit également une gestion automatisée de l'authentification pour les cookies de session et la vérification multi-facteurs afin de maintenir l'accès aux portails protégés.
Automatically extracts precise request and response specifications from captured network traffic to document undocumented endpoints.
apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It transforms GraphQL operations into generated Swift models, ensuring that network responses are validated at compile time to eliminate manual mapping. The library features a normalized cache manager that stores entities in a flat structure to maintain data consistency across different application views. It also optimizes network performance using hash-based persisted queries to reduce payload sizes and supports real-time data streaming via WebSockets or HTTP subscriptions. The p
Provides the ability to download the latest GraphQL schema to ensure client-side compatibility during build tasks.
Flasgger is an OpenAPI documentation generator for Flask that creates interactive API specifications and Swagger UI documentation directly from application docstrings. It functions as an OpenAPI schema validator, verifying that incoming request data matches defined specifications and returning standardized error responses. The project includes a Marshmallow schema bridge to convert data structures into OpenAPI definitions and integrates a web interface for visualizing and testing API endpoints through an embedded interactive console. It further supports dynamic specification resolution, allow
Enables the export of defined API schemas as dictionaries for use in other application logic.
This project is an automated documentation generator that synchronizes API reference materials with actual code behavior. By capturing live HTTP request and response data during the execution of existing test suites, it ensures that documentation remains accurate and consistent with the underlying application. The tool distinguishes itself by integrating directly into the test runner lifecycle, allowing developers to define API specifications and metadata within their test blocks. This approach enables a test-driven documentation workflow where API behavior is recorded and mapped to structure
Converts captured API specifications into standard formats like JSON, HTML, and OpenAPI for sharing across different platforms.