openapi-generator/samples/server/petstore/java-msf4j
Paŭlo Ebermann 4b9988c4f2 Update samples for several language (just whitespace changes, reordering, VERSION) (#5828)
* Update samples for several languages.

Just whitespace changes and some reordering where the order doesn't matter.

* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
..
.swagger-codegen Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
src Add alias type definitions for Java 2017-04-17 12:58:31 -07:00
.swagger-codegen-ignore add ci test for msf4j server (#5220) 2017-03-27 14:37:42 +08:00
mvn_test_jdk8_only.sh add ci test for msf4j server (#5220) 2017-03-27 14:37:42 +08:00
pom.xml fix msf4j bin script 2017-03-28 10:07:38 +08:00
README.md add sample for java-msf4 2016-10-26 11:31:43 +08:00

Swagger Jersey 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!