title: convert openAPI specification to a Postman collection using java/spring boot
body: <p>I`m trying <strong>to convert an OpenAPI specification to a postman collection using spring boot.</strong> So, is there a library or a code segment which I can use to do this task?
  I searched about this but I found none.</p>
  <p>I did this earlier using an npm library. I'll put the code segment below.</p>
  <pre><code>var Converter = require('openapi-to-postmanv2'),
    openapiData = fileReader.result;
  
  Converter.convert({ type: 'string', data: openapiData },
    {}, (err, conversionResult) =&gt; {
  
      if (!conversionResult.result) {
        console.log('Could not convert', conversionResult.reason);
      }
      else {
        console.log('The collection object is: ', conversionResult.output[0].data);
      }
    }
  );
  </code></pre>
  <p>source: <a href="https://www.npmjs.com/package/openapi-to-postmanv2" rel="nofollow noreferrer">https://www.npmjs.com/package/openapi-to-postmanv2</a></p>
  <p><strong>I need help to do this using spring boot</strong></p>