Hi Nadeesha, You can do this in APIM 1.9.0 and up. In order to post, you need to create a model/definition from the API Publisher. Please refer the petstore sample[1]
When defining you need to set the parameter type as in: body and you need to set the schema. Refer to the attached yaml for schema definition. [1] - http://petstore.swagger.io/ Thanks, Madusanka On Tue, Oct 20, 2015 at 8:15 AM, Nadeesha Gamage <[email protected]> wrote: > API M 1.9.1 > > On Mon, Oct 19, 2015 at 5:42 PM, Malintha Amarasinghe <[email protected]> > wrote: > >> Hi, >> >> What is the APIM version you are using? AFAIK this is supported in APIM >> 1.9.1 version. >> >> Thank you. >> Malintha >> >> On Tue, Oct 20, 2015 at 5:13 AM, Nadeesha Gamage <[email protected]> >> wrote: >> >>> Hi Devs, >>> Is it possible to POST a message payload from the Swagger UI in the API >>> Store. The current API Manager version doesnt have a 'Body' parameter type >>> available to do this. Is there any other way to send a message payload from >>> Swagger UI. >>> >>> >>> Thank you, >>> >>> >>> -- >>> Nadeesha Gamage >>> Associate Technical Lead - Solutions Engineering >>> T : +94 77 394 5706 >>> B : https://nadeesha678.wordpress.com/ >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Malintha Amarasinghe >> Software Engineer >> *WSO2, Inc. - lean | enterprise | middleware* >> http://wso2.com/ >> >> Mobile : +94 712383306 >> > > > > -- > Nadeesha Gamage > Associate Technical Lead - Solutions Engineering > T : +94 77 394 5706 > B : https://nadeesha678.wordpress.com/ > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Madusanka Premaratne* | Associate Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 835 70 73| Work: +94 112 145 345 Email: [email protected] | Web: www.wso2.com [image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus] <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image: Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram] <http://instagram.com/madusankapremaratne> [image: Skype] <http://@rmmpremaratne>
swagger.yaml
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
