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

Requirements when response is error #11

Open
rweigel opened this issue Jan 18, 2024 · 0 comments
Open

Requirements when response is error #11

rweigel opened this issue Jan 18, 2024 · 0 comments
Labels

Comments

@rweigel
Copy link
Contributor

rweigel commented Jan 18, 2024

We need to clarify in the documentation that if there is an error, the only required elements are HAPI and status. For example, the following should be valid

{
    "HAPI": "2.1",
    "status": {
        "code": 1406,
        "message": "HAPI error 1406: unknown id"
    }
}

For < 3.0, this was tested for against a subschema that was not a part of the info schema.

rweigel added a commit that referenced this issue Jan 18, 2024
rweigel added a commit that referenced this issue Jan 18, 2024
rweigel added a commit to hapi-server/verifier-nodejs that referenced this issue Jan 18, 2024
@rweigel rweigel added this to the 3.3 milestone Apr 7, 2024
@rweigel rweigel added the 3.3 label Apr 10, 2024
@rweigel rweigel removed this from the 3.3 milestone Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant