openapi-to-application-code by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill openapi-to-application-code你的目标是根据 OpenAPI 规范,使用当前框架的约定和最佳实践,生成一个完整、可运行的应用程序。
https://api.example.com/openapi.json)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
生成的应用程序将包含:
project-name/
├── README.md # 设置和使用说明
├── [build-config] # 框架特定的构建文件(pom.xml, build.gradle, package.json 等)
├── src/
│ ├── main/
│ │ ├── [language]/
│ │ │ ├── controllers/ # HTTP 端点处理程序
│ │ │ ├── services/ # 业务逻辑
│ │ │ ├── models/ # 数据模型和 DTO
│ │ │ ├── repositories/ # 数据访问(如果适用)
│ │ │ └── config/ # 应用程序配置
│ │ └── resources/ # 配置文件
│ └── test/
│ ├── [language]/
│ │ ├── controllers/ # 控制器测试
│ │ └── services/ # 服务测试
│ └── resources/ # 测试配置
├── .gitignore
├── .env.example # 环境变量模板
└── docker-compose.yml # 可选:Docker 设置(如果适用)
生成后:
每周安装量
7.3K
代码仓库
GitHub 星标数
26.7K
首次出现
2026年2月25日
安全审计
安装于
codex7.3K
gemini-cli7.2K
opencode7.2K
github-copilot7.2K
cursor7.2K
kimi-cli7.2K
Your goal is to generate a complete, working application from an OpenAPI specification using the active framework's conventions and best practices.
OpenAPI Specification : Provide either:
https://api.example.com/openapi.json)Project Details (if not in spec):
The generated application will include:
project-name/
├── README.md # Setup and usage instructions
├── [build-config] # Framework-specific build files (pom.xml, build.gradle, package.json, etc.)
├── src/
│ ├── main/
│ │ ├── [language]/
│ │ │ ├── controllers/ # HTTP endpoint handlers
│ │ │ ├── services/ # Business logic
│ │ │ ├── models/ # Data models and DTOs
│ │ │ ├── repositories/ # Data access (if applicable)
│ │ │ └── config/ # Application configuration
│ │ └── resources/ # Configuration files
│ └── test/
│ ├── [language]/
│ │ ├── controllers/ # Controller tests
│ │ └── services/ # Service tests
│ └── resources/ # Test configuration
├── .gitignore
├── .env.example # Environment variables template
└── docker-compose.yml # Optional: Docker setup (if applicable)
After generation:
Weekly Installs
7.3K
Repository
GitHub Stars
26.7K
First Seen
Feb 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex7.3K
gemini-cli7.2K
opencode7.2K
github-copilot7.2K
cursor7.2K
kimi-cli7.2K
97,600 周安装