Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a get-404-response-code rule (Section 6.2.1.2) #65

Open
ghost opened this issue Jan 24, 2024 · 0 comments
Open

Add a get-404-response-code rule (Section 6.2.1.2) #65

ghost opened this issue Jan 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jan 24, 2024

Per Section 6.2.1.2 of JSON:API v1:

A server MUST return 404 Not Found when processing a request to fetch a relationship link URL that does not exist.

A rule needs to be written to be written to verify a 404 response is supported on GET paths that return a single resource.

@ghost ghost added the enhancement New feature or request label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants