diff --git a/testproj/snippets/views.py b/testproj/snippets/views.py index aec28ad..3df0cab 100644 --- a/testproj/snippets/views.py +++ b/testproj/snippets/views.py @@ -83,11 +83,6 @@ class SnippetDetail(generics.RetrieveUpdateDestroyAPIView): description="path parameter override", required=True ), - openapi.Parameter( - name='delete_form_param', in_=openapi.IN_FORM, - type=openapi.TYPE_INTEGER, - description="this should not crash (form parameter on DELETE method)" - ), ], responses={ status.HTTP_204_NO_CONTENT: openapi.Response( diff --git a/tests/reference.yaml b/tests/reference.yaml index d6a4805..83310ba 100644 --- a/tests/reference.yaml +++ b/tests/reference.yaml @@ -468,10 +468,6 @@ paths: description: path parameter override required: true type: integer - - name: delete_form_param - in: formData - description: this should not crash (form parameter on DELETE method) - type: integer responses: '204': description: this should not crash (response object with no schema)