Commit a75b6073 authored by jtc42's avatar jtc42
Browse files

Renamed @response to @doc_response

parent b3f32f23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ class CaptureAPI(Resource):
        }
    )
    @marshal_with(capture_schema)
    @response(200, "Capture successful")
    @doc_response(200, "Capture successful")
    def post(self, args):
        microscope = find_device("openflexure_microscope")

+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class doc(object):
        return f


class response(object):
class doc_response(object):
    def __init__(self, code, description, **kwargs):
        self.code = code
        self.description = description