Advance REST Api Features
- Documentations
- Content Negotiation
- Internationalization - i18n
- Versioning
- HATEOAS
- Static Filtering
- Dynamic Filtering
- Monitoring
1. Documentations:
- Consumer of your REST API should know :
- Resources
- Actions
- Request/Response Structure (Constraints/Validations)
- Chalanges:
- Accuracy: How do you ensure that your documentations is upto date and correct?
- Consistency: you may have 100s of REST API in an enterpriise how do you ensure all document in consistency?
- There are two option to Create Documentation:
- 1 Manually maintain documentation
- Additional effort to keep it in sync with code
- 2.Generate the Documentation from Code
Rest APi Documentation Using
- Swagger and
- Open API:
Comments
Post a Comment