Forum Discussion

smegopal's avatar
smegopal
New Contributor
7 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. 

 

 

 

 

 

  • StevenColon's avatar
    StevenColon
    SmartBear Alumni (Retired)

    Thank you for posting to our Community Forum. 

     

    Please submit this issue to support along with more information on what is incorrect from the spec, and the project XML file that you are using in ReadyAPI so that our team can have a closer look. 

     

    Support Ticket Link: https://support.smartbear.com/message/?prod=ReadyAPI 

     

    Have a great day!