Renamed @response to @doc_response
This commit is contained in:
parent
b3f32f2309
commit
a75b6073f2
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ class CaptureAPI(Resource):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@marshal_with(capture_schema)
|
@marshal_with(capture_schema)
|
||||||
@response(200, "Capture successful")
|
@doc_response(200, "Capture successful")
|
||||||
def post(self, args):
|
def post(self, args):
|
||||||
microscope = find_device("openflexure_microscope")
|
microscope = find_device("openflexure_microscope")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ class doc(object):
|
||||||
return f
|
return f
|
||||||
|
|
||||||
|
|
||||||
class response(object):
|
class doc_response(object):
|
||||||
def __init__(self, code, description, **kwargs):
|
def __init__(self, code, description, **kwargs):
|
||||||
self.code = code
|
self.code = code
|
||||||
self.description = description
|
self.description = description
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue