zalando/restful-api-guidelines
Auf GitHub ansehenEditorial: Uniform Layout and Naming of Hints, Remarks, Exceptions etc.
Open
#660 geöffnet am 18. Mai 2021
editorialenhancementhelp wanted
Repository-Metriken
- Stars
- (1.984 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 12h) (2 gemergte PRs in 30 T)
Beschreibung
We use different layout formats for standard guideline elements like 'Exception:', 'Hint:', 'Note:', 'Remark:', 'Example:', 'Tip', 'Reasoning:', 'Warning:', 'Important:', 'Caution:'. Additionally, the elements are partially redundant with unclear 'didactic purpose'. Let us reduce the elements to a minimal set with clear purpose and uniform layout. It will contribute to readability and efficient consumption by API builders. Examples:
- Hint: https://opensource.zalando.com/restful-api-guidelines/#101
- Example: https://opensource.zalando.com/restful-api-guidelines/#116 https://opensource.zalando.com/restful-api-guidelines/#104 https://opensource.zalando.com/restful-api-guidelines/#114
- Note + Tip: https://opensource.zalando.com/restful-api-guidelines/#114
- Reasoning: https://opensource.zalando.com/restful-api-guidelines/#114