Fix vfc-vnfres auto-swagger bugs. 95/29295/2
authorying.yunlong <ying.yunlong@zte.com.cn>
Fri, 26 Jan 2018 09:16:54 +0000 (17:16 +0800)
committeryunlong ying <ying.yunlong@zte.com.cn>
Fri, 26 Jan 2018 09:38:00 +0000 (09:38 +0000)
commit03ddcb24a50bb596a399670a5cc3b2319d59e29e
tree1f8a1c6b8d4371ba4f0076ec00d850f7871c4480
parent09a21ea186aff5cbee6dcc5573f570f49c251812
Fix vfc-vnfres auto-swagger bugs.

SwaggerGenerationError at /cached/swagger/
request_body can only be applied to PUT, PATCH or POST views

Change-Id: If3024f9ad11449ad23af30bb6f334f0ac617d5ad
Issue-ID: VFC-679
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
res/res/resources/serializers.py
res/res/resources/views.py