spec-first

connexion

spec-first

Connexion is a modern Python web framework that makes spec-first and api-first development easy.

AI 简介

Connexion 是一个基于 OpenAPI 规范驱动的 Python Web 框架,支持 API 优先(API-first)和规范优先(spec-first)开发模式。它通过解析 OpenAPI(或 Swagger)YAML/JSON 文件自动完成路由注册、请求响应校验、参数解析与注入、认证集成及响应序列化,并内置 Swagger UI 提供交互式 API 文档。支持与 Flask、FastAPI 等 WSGI/ASGI 框架协同使用,适用于微服务架构、内部 API 标准化建设及需要强契约约束的后端服务开发场景。

Python
Apache License 2.0
4.6k
Stars
782
Forks
75
Watchers
146
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分60.68
默认分支main