API Documentation and Validations While Keeping The Code DRY
As the APIs grow in number and complexity, documentation becomes a must-have. With time, changes in API parameters, response entities, and optional vs mandatory keys in both parameters and response entities are inevitable.