Skip to content

Missing validation on 'type', when creating a new Iot-device #135

@ellesgaard

Description

@ellesgaard

Server returns 500 when creating an IoT-device without a type.
Response should be 400, with a validation error of missing/incorrect type.
As is done, if name is missing.

Submitting w/o a type returns 500
500

Submitting w/o a name returns 400
400

Check that server returns 201, when all three params is present
ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions