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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
A NO DESCRIPTION stamp marks an operation with no summary and a documented response with an empty description, so a missing description reads as the spec gap it is instead of as blank space.
A MISSING FROM SPEC stamp marks every response status the spec does not document, greying the status code. Statuses SpecProof expects of an operation and never finds are now listed rather than silently absent: 500 for every operation, 404 where a path parameter addresses a resource, and 400 where the operation declares a request body. The stamp is about the spec, so it is independent of the test verdict beside it: a status nothing asserts reads NO TEST, and one the tests do assert reads UNDOCUMENTED.
Changed
UNDOCUMENTED is now reserved for a status the tests assert that the spec never mentions. A status with no assertions reads as NO TEST whether the spec documents it or not.
Fixed
A status code asserted in tests but absent from the OpenAPI spec no longer replaces the route's description with "asserted in tests, but absent from the OpenAPI spec". A description is only ever the spec's own, shown as written; SpecProof never substitutes text for it.