Good progress. On Fri, Feb 14, 2020 at 5:30 PM Vinula Buthgamumudalige <[email protected]> wrote:
> Hi all, > > I am writing this email to inform the progress and way forward of the > Mock/Sample Payload Generation Feature of Inline Prototyping in API Manager. > > Current Progress : > > The basic functionality of being able to generate mock response payloads > from the examples defined in a swagger and injecting them to the inline > scripts of prototype implementation has been implemented. > > > 1) Examples defined in the schema of each response in each operation. > > > > > 2) The respective sample payloads of the HTTP method/operation are > extracted and injected into the inline script. > > > > 3) The prototyped API can then be tested out in the dev portal. > > > > Way forward : > > We are planning to further improve the prototype implementation by adding > functionalities such as : > > > 1) Resource vise editing : Providing a button to each resource to reset > the content after the user modifies the generated code. > > > Let's come up with a REST API design to support this. Thanks! > > > > 2) Ability to minimize and maximize inline scripting code editor window. > > > 3) Changing the javascript engine to a newer version that allows code > suggestions and syntax validations. > > > > 4) Letting user define accept headers to choose the type of payload to > return as the response (XML/JSON) > > > Thankyou and Regards, > > -- > *Vinula Uthsara* |* Engineering - Intern* *| WSO2 Inc.* > *(m) +94769006126 | (e) **[email protected]* <[email protected]> > > -- Malintha Amarasinghe *WSO2, Inc. - lean | enterprise | middleware* http://wso2.com/ Mobile : +94 712383306
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
