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
Expected behavior:
Expected that since the required field name is missing, that the request would be rejected and the return HTTP status would be 400.
from openapi src/common/schemas/User.yml
properties:
id:
readOnly: truetype: stringdescription: The user ID.oauthID:
type: stringdescription: The OAuth ID.name:
type: stringdescription: The user name.status:
description: | If `inactive`, the user is inactive. Default is `active`.default: activetype: stringenum:
- active
- inactiverequired: [name]~
Actual behavior:
The server returns 201 and a new user artifact with an empty name field.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Testing directly against the API
api/v2/users
The request data
Expected behavior:
Expected that since the required field
name
is missing, that the request would be rejected and the return HTTP status would be 400.from openapi
src/common/schemas/User.yml
Actual behavior:
The server returns 201 and a new user artifact with an empty name field.
The response body
Environment info:
Testing against K8SIDPE remocal.
Latest commit
The text was updated successfully, but these errors were encountered: