You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.
6
6
7
-
Swagger-core is the Java implementation of Swagger. Current version supports *JAX-RS*. Future milestone releases will add support for *plain Servlets* and *Play Framework*.
7
+
Swagger-core is the Java implementation of Swagger. Current version supports *JAX-RS*. Future milestone releases will add support for *plain Servlets* and *Play Framework*.
8
8
9
9
Check out [Swagger-Spec](https://github.com/swagger-api/swagger-spec) for additional information about the Swagger project, including additional libraries with support for SpringMVC, other languages and more.
10
10
@@ -29,10 +29,10 @@ The Swagger Specification has undergone 3 revisions since initial creation in 20
29
29
30
30
Swagger core Version | Release Date | Swagger Spec compatibility | Notes | Status
To allow independent development, scala support has been moved into a separate project. See the [swagger-scala-module](https://github.com/swagger-api/swagger-scala-module) for details. Play! framework support is moving outside the swagger-core project as well.
@@ -47,11 +47,10 @@ If you're interested in the change history of swagger and the swagger-core frame
47
47
### Prerequisites
48
48
You need the following installed and available in your $PATH:
49
49
50
-
<li>- Java 6 (http://java.oracle.com)
50
+
* Java 6 (http://java.oracle.com)
51
+
* Apache maven 3.0.4 or greater (http://maven.apache.org/)
52
+
* Jackson 2.4.2 or greater
51
53
52
-
<li>- Apache maven 3.0.4 or greater (http://maven.apache.org/)
53
-
54
-
<li>- Jackson 2.4.2 or greater
55
54
56
55
### To build from source (currently 1.5.0-M2)
57
56
```
@@ -64,14 +63,18 @@ Subsequent builds:
64
63
mvn install
65
64
```
66
65
67
-
This will build the modules and sample apps.
66
+
This will build the modules. To build sample apps, activate the `samples` profile:
67
+
68
+
```
69
+
mvn install -Psamples
70
+
```
68
71
69
72
Of course if you don't want to build locally you can grab artifacts from maven central:
70
73
71
74
`http://repo1.maven.org/maven2/com/wordnik/`
72
75
73
76
## Sample Apps
74
-
There are a number of sample apps in the [samples](https://github.com/swagger-api/swagger-core/tree/develop_2.0/samples) folder.
77
+
There are a number of sample apps in the [samples](https://github.com/swagger-api/swagger-core/blob/master/samples) folder.
0 commit comments