openapi-generator/samples/server/petstore/jaxrs-resteasy/eap-joda
Ian O'Neill dc800c79cc [JaxrsResteasy] Fix EAP dependencies for Java 8 (#6058)
* Depend on Joda by default, like the default JAX-RS server
* If Java 8 is specified add Jackson JSR-310 dependency and import
  in the JacksonConfig.
2017-07-17 21:44:51 +08:00
..
.swagger-codegen Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
src Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
.swagger-codegen-ignore [JaxrsResteasy] Improvements for Resteasy for Jboss EAP 4512 (#4712) 2017-03-01 00:20:35 +08:00
build.gradle [JaxrsResteasy] Fix EAP dependencies for Java 8 (#6058) 2017-07-17 21:44:51 +08:00
pom.xml [JaxrsResteasy] Fix EAP dependencies for Java 8 (#6058) 2017-07-17 21:44:51 +08:00
README.md [JaxrsResteasy] Improvements for Resteasy for Jboss EAP 4512 (#4712) 2017-03-01 00:20:35 +08:00
settings.gradle [JaxrsResteasy] Fix JacksonConfig package and RestApplication imports (#5302) (#5303) 2017-04-04 00:43:40 +08:00

Swagger generated server

Overview

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a swagger-enabled JAX-RS server.

This example uses the JAX-RS framework.

To run the server, please execute the following:

mvn clean package jetty:run

You can then view the swagger listing here:

http://localhost:8080/v2/swagger.json

Note that if you have configured the host to be something other than localhost, the calls through swagger-ui will be directed to that host and not localhost!