Generate model for nodejs

2018-02-09 Thread vijay kumar
Is it possible to generate a node.js client from swagger . Currently i am using swagger js codegen which generates the stubs and it works but it dosent generate the models from API spec .How to generate the Models using swagger for node.js -- You received this message because you are

Autogenerate Client from Swagger UI

2018-02-09 Thread Ellis
Is there a way to autogenerate a client from just the Swagger UI for API documentation/testing? The developer hosts a site like this: https://imgur.com/a/bQfsj that only has the API calls and they say they don't have a raw Swagger yaml or json file. I want to know if it's possible to obtain

Swagger Editor Validation Error- "pattern" should match format "regex"

2018-02-09 Thread galynamudryk27
Hello, When i check my swagger code in a swagger editor I always receive the same validation error: Schema error at definitions ... .patternshould match format "regex" format: regex Structure of my object: Object: type: object title: required: - wheel - window

Re: Swagger js codegen on how to generate models

2018-02-09 Thread vijay kumar
Hi Ramya, My requirement is for node.js to generate stubs .I have generated Stubs using swagger-js-codegen and code works fine .It just that iam not able to generate models object from swagger. I am looking at different library but nothing has helped so far. Thank you Vijay On Fri, Feb 9, 2018

Re: Swagger js codegen on how to generate models

2018-02-09 Thread Ramya kadimetla
Hi Vijay, I am using swagger-ant-task.0.0.2 jar for generating swagger.json file for ant project. Thanks & Regards, Ramya On Thu, Feb 8, 2018 at 10:47 PM, vijay kumar wrote: > Hi Ramya, > > Sorry about the late reply. > > Like swagger.json i am not sure can help me