You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
In looking over util.ValidateEndpoints, it appears that some kind of hard-coding of HTTP requests is being done, and assumptions are made that all the HTTP methods are explicitly supported.
Expected Behavior
Option 1: Configuration-driven approach
For each operation:
For each HTTP method:
Send HTTP request
Option 2: Add more inline comments explaining what's happening and why. The current function states it's iterating over all HTTP methods but does not explain why, the "why" is the important part. Also worth mentioning: does this assume every method is defined, or are default definitions of methods such as OPTIONS coming through about being assigned to expect an HTTP 405 response?
This issue affects two categories in my review of the repository:
Experience: Does the project provide a good experience to users?
Internals: Is the implementation efficient, effective, and maintainable?