Add an OpenAPI lint check to CI

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, openapi, yaml
Lĩnh vực
ci-cd, tooling

Hướng nghiên cứu

Start by reading spec/oqp-v1.0.0.yaml and the repository README to understand the spec and where the badge belongs. Add a GitHub Actions workflow that runs Spectral or Redocly CLI on pushes and pull requests; add a minimal ruleset only if the defaults are too noisy, and explain any disabled rules. Done when the check reports problems and the README displays its status badge.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue

The repo has no CI. A broken edit to spec/oqp-v1.0.0.yaml would only be noticed by a reader.

What to do

  • Add a GitHub Actions workflow that runs an OpenAPI 3.1 linter (Spectral or Redocly CLI) on spec/oqp-v1.0.0.yaml for pushes and pull requests.
  • Add a minimal ruleset file if the defaults are too noisy, and note any rules you turned off and why.
  • Add a status badge to the README.

A first pass that just reports problems is fine.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
18
Fork
3
Merge trung bình
1 giờ 14 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OrangeproAI/open-qa-protocol

Tất cả issue của OrangeproAI/open-qa-protocol

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.