mark CreateResponse as a swagger.model
change response class of post pods to L{CreateResponse}
JIRA: FUNCTEST-326
Change-Id: I031350bb434e26e33d55c92ace548a2ae1c82f3e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
from opnfv_testapi.tornado_swagger import swagger\r
\r
\r
from opnfv_testapi.tornado_swagger import swagger\r
\r
\r
class CreateResponse(object):\r
def __init__(self, href=''):\r
self.href = href\r
class CreateResponse(object):\r
def __init__(self, href=''):\r
self.href = href\r
@param body: pod to be created
@type body: L{PodCreateRequest}
@in body: body
@param body: pod to be created
@type body: L{PodCreateRequest}
@in body: body
+ @rtype: L{CreateResponse}
@return 200: pod is created.
@raise 403: pod already exists
@raise 400: body or name not provided
@return 200: pod is created.
@raise 403: pod already exists
@raise 400: body or name not provided