swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

Set up Eclipse environment with swagger-codegen?

Open fultonm opened this issue 9 years ago • 5 comments

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.

fultonm avatar Dec 15 '16 18:12 fultonm

@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.

wing328 avatar Dec 16 '16 03:12 wing328

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

fultonm avatar Dec 16 '16 04:12 fultonm

NetBeans works well.

fultonm avatar Dec 16 '16 08:12 fultonm

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

fehguy avatar Feb 03 '17 22:02 fehguy

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

anishTPM avatar Mar 09 '17 05:03 anishTPM