OpenAPI file structure for Stoplight documentation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- openapi, yaml
- Lĩnh vực
- api, documentation
Hướng nghiên cứu
Issue không nêu tên tệp hoặc kiểm thử nào. Hãy bắt đầu bằng việc xem xét bố cục YAML hiện tại của Stoplight/OpenAPI và các định nghĩa API của CDS Events, Curb và Metrics; được xem là hoàn tất khi mỗi API có tệp YAML riêng và mọi mô hình dùng chung đều được tham chiếu nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
When we are building out the OpenAPI files within Stoplight, I believe we need to align on how we should structure the YAML files.
- Option A: 1 YAML file for all of the CDS APIs
- Option B: 1 YAML file for each of the CDS APIs
Describe the solution you'd like
I would like to pursue Option B which is the creation of a YAML file for each of the CDS APIs (Events, Curb, Metrics). This could make the documentation modular and easier to digest when being displayed through Stoplight.
Is this a breaking change
This isn't a breaking change since we have yet to finalize a full Open API version on our documentation
Impacted Spec
All APIs are impacted with this documentation standard.
Describe alternatives you've considered
We would want to use Stoplight to create shared models that can be referenced by multiple APIs if these are needed. This proposed structure does not conflict with previous decisions to maintain a single branch for each API version.
Additional context
Several members of the CDS WGSC collectively showed support for the option to move towards a model where 3 distinct files were used to document each API in the Oct 11th WGSC meeting.
- Ngôn ngữ chính
- JavaScript
- Star
- 7
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openmobilityfoundation/cds-openapi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
TODO: Update the text table for event_purpose.yamlCó thể làm lại được @michael-danko-passport đã nhận 1155 ngày trước và không có pull request nào đang mở. Đang mở
openmobilityfoundation/cds-openapi#7 · 1 bình luận · 1 người được giao ·
-
Implement 501 status codeĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
openmobilityfoundation/cds-openapi#2 · 1 bình luận ·
Tất cả issue của openmobilityfoundation/cds-openapi
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
pedroapfilho/localveil#120 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ImpactMojo/ImpactMojo#1385 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Seeed-Studio/wiki-documents#5974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày