-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Audit: API Design
Review API design for consistency and best practices.
RESTful Design
-
Resource Naming
- Plural nouns?
- Consistent casing?
- Hierarchical structure?
-
HTTP Methods
- Correct verb usage?
- Idempotency where required?
- Safe methods are safe?
-
Status Codes
- Appropriate codes used?
- Consistent across endpoints?
- Error responses informative?
API Consistency
-
Naming Conventions
- camelCase vs snake_case?
- Consistent across endpoints?
-
Response Format
- Standard envelope?
- Consistent error format?
- Pagination format?
-
Versioning
- Version strategy?
- Breaking change handling?
- Deprecation policy?
Documentation
- OpenAPI/Swagger - Complete?
- Examples - Request/response samples?
- Error Codes - Documented?
- Authentication - Clearly explained?
Security
- Rate Limiting - Implemented?
- Input Validation - All fields?
- Output Encoding - XSS prevention?
- CORS - Appropriately configured?
Output
Save to AUDIT-API.md