9 个仓库
Automatic production of machine-readable technical specifications based on endpoint metadata.
Distinct from Endpoint Specification: Closest candidates refer to endpoint discovery or database-to-REST generation, not the creation of documentation specifications (like OpenAPI) from route metadata.
Explore 9 awesome GitHub repositories matching web development · API Specification Generation. Refine with filters or upvote what's useful.
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 for external consumers.
mitmproxy2swagger is a tool that transforms captured mitmproxy network traffic into structured OpenAPI schemas for reverse-engineering REST APIs. It functions as an OpenAPI schema converter and network traffic documentation utility, extracting API endpoints and data structures from captured network packets to create formal technical references. The tool enables the reconstruction of undocumented APIs by converting intercepted HTTP request and response patterns into specifications. It supports merging multiple traffic capture files into a single schema to incrementally expand an API map and ut
Provides templates to select specific network paths to include or ignore in the final API specification.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Automatically generates OpenAPI or JSON Schema specifications from defined validation rules.
Robyn is a high-performance asynchronous web framework and server for Python that utilizes a Rust-powered runtime to execute code. It functions as an asynchronous Python web server designed to handle many concurrent requests efficiently through a multithreaded execution model. The project includes specialized capabilities for AI agent request routing, managing communication between agents and external tools. It also serves as a WebSocket communication server, maintaining persistent bidirectional channels for real-time data exchange. The framework covers a broad range of web infrastructure, i
Automatically generates machine-readable API specifications based on the defined server routes.
django-cors-headers 是一个用于管理跨域资源共享(CORS)的 Django 应用工具。它向响应添加 HTTP 标头,以便 Web 浏览器可以允许来自指定外部域的跨域请求。 该项目提供了用于定义哪些外部域、HTTP 方法和标头被允许访问 API 的工具。它支持通过静态列表和正则表达式限制允许的来源,并支持传输用于跨站点会话处理的 Cookie 和身份验证凭据。 其他功能包括限制跨域共享到特定 URL 模式的 API 访问控制,以及管理私有网络预检标头,以允许公共 IP 地址与私有网络服务器之间的通信。
Limits the application of CORS headers to specific API paths or URL subsets.
swagger-php 是一个 OpenAPI 规范生成器和 PHP API 文档库。它扫描 PHP 源代码属性和注解,以生成标准化的规范文件和交互式 API 参考。 该工具作为一个模式推断引擎,从原生 PHP 类型提示和泛型块中派生数据类型和模式。它使用基于反射的静态分析来提取元数据而不执行应用程序逻辑,并支持递归模式继承以合并来自父类和接口的定义。 该项目包括一个用于将 API 定义导出为静态 YAML 或 JSON 文件的命令行工具。它还提供了一个带有插件式处理逻辑的规范组装流水线,以修改源代码的分析或结构化方式。
Automatically produces machine-readable API specifications based on endpoint metadata extracted from PHP source code.
Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated Swagger UI. It functions as a documentation generator and specification parser that extracts API schemas from route definitions, function docstrings, and external specification files. The tool allows API definitions to be maintained either within the source code using YAML blocks in docstrings or decoupled into standalone YAML files. It provides a browser-based interactive console for testing and exploring API endpoints directly from the web application. Beyond documentation,
Produces machine-readable OpenAPI specifications from code, including support for components and callbacks.
Martin is a vector tile server and map asset server that delivers geospatial data from PostGIS databases, MBTiles, and PMtiles files. It functions as a TileJSON metadata provider and a suite of vector tile tooling for generating, validating, and exporting geospatial tile archives. The project distinguishes itself by providing integrated map asset management, generating map styles, sprite sheets, and font glyphs on the fly. It supports advanced visual rendering capabilities such as Signed Distance Field sprites for runtime recoloring and fallback-based font composition to ensure complete chara
Generates machine-readable API specifications from endpoint definitions to automate client code generation.
This project is a comprehensive library of reference implementations and patterns for building web applications using the Go Fiber framework. It provides curated templates and implementation guides for creating REST APIs, web servers, and structured backend services. The repository serves as a practical resource for applying architectural patterns, including Clean and Hexagonal architectures, as well as port-and-adapter decoupling. It offers detailed examples for integrating common web features such as OAuth2 authentication, JWT verification, WebSockets for real-time communication, and server
Provides the ability to automatically generate machine-readable API specifications from source code annotations.