Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion claude-specification/project/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ cora/
│ ├── assets.go # go:embed 嵌入 Spec 文件
│ └── openapi/ # 内置服务 OpenAPI Spec
│ ├── etherpad/openapi.json
│ ├── eur/openapi.json
│ ├── forum/openapi.json
│ └── gitcode/openapi.json
│ ├── gitcode/openapi.json
│ ├── github/api.github.com.json
│ └── jenkins/openapi.json
├── spec/ # 架构与设计文档
│ ├── architecture-design.md
│ ├── logging-design.md # 日志系统设计(必读)
Expand Down Expand Up @@ -95,7 +98,11 @@ cora/
| 服务 | 命令名 | 默认 API 地址 |
|------|--------|--------------|
| GitCode | `gitcode` | `https://api.gitcode.com` |
| GitHub | `github` | `https://api.github.com` |
| Etherpad | `etherpad` | `https://etherpad.openeuler.org/api/1.3.0` |
| Jenkins | `jenkins` | 无默认值,需配置 base_url |
| EUR | `eur` | `https://eur.openeuler.openatom.cn/api_3` |
| Forum | `forum` | 无默认值,需配置 spec_url + base_url |

### OpenAPI Spec 编写规范

Expand Down
8 changes: 8 additions & 0 deletions config/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ services:
username: YOUR_JENKINS_USERNAME
api_token: YOUR_JENKINS_API_TOKEN

# ── EUR / openEuler Copr(内置 Spec,无需 spec_url)──
# eur:
# base_url: https://eur.openeuler.openatom.cn/api_3
# auth:
# eur:
# username: "your-username"
# api_token: "your-api-token"

# ── Forum (Discourse) ─────────────────────────────────────────────────────────
# spec_url: URL or local path to the service's OpenAPI spec.
# Supported: http://, https://, file://, or a bare filesystem path.
Expand Down
Loading