Commit 49beb59c authored by Christophe Goffin's avatar Christophe Goffin Committed by Rich Gerdes
Browse files

Issue #3174817 by cgoffin, richgerdes: HTTP response code for delete requests is wrong

parent 2754a1c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -455,7 +455,7 @@ abstract class OpenApiGeneratorBase extends PluginBase implements OpenApiGenerat

      case 'delete':
        unset($responses['200']);
        $responses['201'] = [
        $responses['204'] = [
          'description' => 'Entity deleted',
        ];
        break;