Skip to content

Swagger can't handle exceptions on HTTP delete #30

@cnizzardini

Description

@cnizzardini

What Happened
Tried deleting a record that doesn't exist via swagger interface. An exception is generated which causes swagger to crash.

Expected Behavior
404 response

Steps to Reproduce

  1. Send HTTP delete for a recrod that does not exist

Version and Platform (please complete the following information):

  • OS/Platform: Linux/Docker
  • CakePHP: 4.2.*
  • MixerApi Version: 0.2.4

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions