Showing results for 
Search instead for 
Did you mean: 

Swagger in junit

Occasional Visitor

Swagger in junit

From the swagger UI ( I can make a call in introduced format by clicking "Try it out" button. It is great! But, is there a possibility to:

- use swagger to generate http request objects in java in introduced format. For instance, I want make this call ( from the java test, providing a parametr status as an argument to some method, which will generate httpRequest or make a call and return httpResponse. 

Tags (3)

Re: Swagger in junit

We don't provide a way to do that out of the box, but you can create your own Swagger Codegen generator that will generate the code for you.

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓