Body request parameters not being created after Swagger definition import
Hi, I'm trying to import a Swagger 2.0 definition to SoapUI, but after doing so the request parameters aren't automatically generating, defeating the purpose of the import. I've also tried to import the example petstore swagger file and even there the body in the post calls is empty even though I can see that there is content when I check the swagger file in the swagger editor. Am I missing something? I have installed the plugins (I believe the latest ones) and I believe the version of the swagger file is correct since it doesn't allow me to import the 3.0. Also I tried importing collections from Postman and in case I have an attribute defined like this: "Expected_Product_Duration": "<hh:mm:ss>" It doesn't import the body request parameters unless we delete the <>. This is not that such of an issue I just thought it would be nice to mention it in case other people encounter the same. Thanks, Bojana PS I found this topic but I don't see how it was resolved, if it was resolved at all:https://community.smartbear.com/t5/SoapUI-Pro/Body-request-parameters-not-being-created-after-Swagger/td-p/152271Solved1.9KViews0likes3CommentsSwagger compliance assertion
Hi, I'm trying to add a Swagger compliance assertion to my test step (using SoapUI 5.5.0) but there is no such assertion on the list. Is there any plugin I need to install before seeing it? I already install the swagger import/export extension (and I'm able to import swagger definitions), but the assertion is not yet there.1.5KViews0likes7CommentsHow to add description for each api response data in swagger api doc
Hi, I am creating api using Swagger. My api is working fine. Now what I want is, I want to add description for each data that is returning my api. Suppose here is my api functionality. @SWG\POST( path="/api/data", tags={"datas"}, summary="returns all datas", description="Base url is : http://example.com/", @SWG\Parameter( name="Authorization", in="header", description="Token to access Audio File", required=true, type="string", default="Bearer TOKEN", description="Authorization" ), @SWG\Response( response="200", description="Successful operation", ), @SWG\Response( response=400, description="Invalid Data| Data not in request" ), @SWG\Response( response=401, description="Invalid token | Header Token is missing" ), ) This api functionlity returning data like this : { "data": [ { "id": 1, "title": "Title of the file", "description": "description of file", "content": "content name will be here", "thumbnail": "content thumbnail will be here" } ] } Now what I want is, I want to add description in the documentation what does id, title, description, content & thumbnail means? I simple word I want to add little description for those. I have tried adding$ref and describing responses. But it is not working. Almost every time I am getting error like this failed to parse JSON/YAML response. Please help me on this. Thanks1.2KViews0likes0CommentsHow to transfer property from response when contains only values ?
I have API call like below with response of HeartBeat (LocalDateTime) . How can I transfer value and which type to select for transfer ? GET /v1.0/Wallet/Heartbeat Response Body "2017-05-16T18:41:06.0755223Z" Response Code 200 Response Headers { "content-type": "application/json; charset=utf-8" }3.7KViews0likes9Comments