Skip to content

No way to start the swagger-jaxrs-server #925

@mohsen1

Description

@mohsen1

From @cosbor11 on June 27, 2015 0:44

Steps to reproduce:

  1. Enter a valid swagger 2.0 json spec into the editor
  2. Go to Generate Server > JaxRS
  3. Download zip and unpack
  4. Build the project
  5. Run the java -jar swagger-jaxrs-server-1.0.0.jar command
  • ISSUE: The server doesn't start. Gives this message:
no main manifest attribute, in swagger-jaxrs-server-1.0.0.jar

Also, the pom does not reference any MainClass

Also, there is no README.md or guide to starting this server anywhere.

Ideally, I'd like to start this in a tomcat container, but it looks like it's intended to have an embedded jetty server, How is this skeleton intended to be used?

-C

Copied from original issue: swagger-api/swagger-editor#516

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions