zalando/restful-api-guidelines
Voir sur GitHubEditorial: Uniform Layout and Naming of Hints, Remarks, Exceptions etc.
Open
#660 ouverte le 18 mai 2021
editorialenhancementhelp wanted
Métriques du dépôt
- Stars
- (1 984 stars)
- Métriques de merge PR
- (Merge moyen 3j 12h) (2 PRs mergées en 30 j)
Description
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