Forum Discussion

smegopal's avatar
smegopal
New Contributor
6 years ago

REST api

I am trying to publish the test cases from Ready API to Swageer Hub directly. But, I am not getting all the fields correct in my swagger json file. 

 

Below is the json file created after publishing it to swagger. 

 

-----------------------------------------------------------------------------------------
swagger: "2.0"
info:
version: "1.0"
title: "http://specb.partnerapi.engprod-charter.net"
basePath: ""
paths:
/api/pub/pcsservice/billingcodetype:
post:
operationId: "Billingcodetype"
consumes:
- "application/json"
parameters:
- in: "body"
name: "body"
description: "Request body"
required: true
responses:
200: {}

-----------------------------------------------------------------------------------------

I have attached the screenshot of the design view. 

 

Thank you in advance.