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

No request parameter validation in PUT /document/identity #81

Closed
JuAlMan opened this issue Aug 2, 2024 · 1 comment
Closed

No request parameter validation in PUT /document/identity #81

JuAlMan opened this issue Aug 2, 2024 · 1 comment

Comments

@JuAlMan
Copy link

JuAlMan commented Aug 2, 2024

Using image docker.sunet.se/dc4eu/apigw:apiv28

It is possible make a request like this without getting any validation errors:

{
    "identities": [
        {
            "schema": {
                "name": "DE",
                "version": "1.0.0"
            }
        }
    ]
}

Leaving out the identities-array results in an internal server error.

As all request parameters are required, a validation error should be returned when one or more parameter are missing.
See also issue #75 for validation of the identity-objects submitted in the array.

@masv3971
Copy link
Collaborator

masv3971 commented Sep 2, 2024

should be fixed with, e1ea46f

@JuAlMan JuAlMan closed this as completed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants