REST API: POST parameter class not present in yaml definitions


#1

Can’ t find a way to have the request parameter class defined in swagger definition:

27

In the yaml only the response class is defined, the request class definition is missing:


swagger: "2.0"
info:
title: "Title"
description: "Description"
contact:
email: "support@email.org"
version: "1.2"
host: "10.10.01.01"
basePath: "/v1/restapi"
schemes:

  • "https"
    paths:
    /action:
    post:
    operationId: "rEST_Service"
    parameters:
    - in: "body"
    name: "rest servicerequest"
    schema:
    $ref: "#/definitions/REST ServiceRequest"
    responses:
    200:
    description: "OK"
    schema:
    $ref: "#/definitions/REST ServiceResponse"
    definitions:
    REST ServiceResponse:
    type: "object"
    properties:
    id:
    type: "integer"
    format: "int32"
    description:
    type: “string”

#2

Hi,

Sorry for the issue that you are experiencing. It was identified and a patch will be available soon.


#3

Hi m.berta,

I would like to let you know the missing request class in generated yaml problem had been fixed. Please follow the article below update your software to patch build 20180238cc to get the problem fixed.

Feel free to contact me for any help and wish you have a good day!

Best regards,
Rain Wong


#4

I confirm the issue is solved. My congrats for your excellent support. Thanks