Swagger-codegen: Set up Eclipse environment with swagger-codegen?

Created on 15 Dec 2016  路  5Comments  路  Source: swagger-api/swagger-codegen

EDIT: The main question I have is How do I open the swagger project in an IDE? I'm only assuming we use Eclipse around here.

Description

When I open swagger-codegen project in Eclipse I am having problems using the features of the IDE such as Find Method Reference and other things having to do with code searching.

Swagger-codegen version

master branch

Swagger declaration file content or url

Not applicable

Command line used for generation
Steps to reproduce
  1. Clone the swagger-codegen project with git.
  2. Import the projects into Eclipse using File -> Import -> Maven -> Existing Maven Projects
  3. Find any method in any project and find all references.
Related issues

I opened an SO question about this issue here, including screenshots and more description:
Cannot Perform Operation: The resource is not on the build path of a Java project

Suggest a Fix

I think this has to do with how the projects were imported or an Eclipse plugin I haven't installed or configured correctly.

Question

Most helpful comment

@wing328 hello sir, I do not get any option in netbeans. How can I use swagger in netbeans?

All 5 comments

@fultonm I'm using NetBeans. Please give it a try.

For Eclipse, which version are you using? I'll give it a try later when I've time.

Neon.1. Thank you for the NetBeans suggestion I will try that.

NetBeans works well.

Closing out as this is more of an IDE question than anything.

@wing328 hello sir, I do not get any option in netbeans. How can I use swagger in netbeans?

Was this page helpful?
0 / 5 - 0 ratings