Skip to content

Commit 849c6d9

Browse files
author
Ron
authored
Merge pull request swagger-api#2375 from frantuma/readme-update
update 2.0 readme
2 parents 9db9b65 + 2f818bd commit 849c6d9

File tree

1 file changed

+36
-26
lines changed

1 file changed

+36
-26
lines changed

README.md

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
# Swagger Core library
22

3-
[![Build Status](https://travis-ci.org/swagger-api/swagger-core.svg?branch=master)](https://travis-ci.org/swagger-api/swagger-core)
4-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-project/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-project)
5-
[![PR Stats](http://issuestats.com/github/swagger-api/swagger-core/badge/pr)](http://issuestats.com/github/swagger-api/swagger-core) [![Issue Stats](http://issuestats.com/github/swagger-api/swagger-core/badge/issue)](http://issuestats.com/github/swagger-api/swagger-core)
6-
7-
Javadocs for annotations with the current release are [available online](http://docs.swagger.io/swagger-core/current/apidocs/index.html).
3+
[![Build Status](https://travis-ci.org/swagger-api/swagger-core.svg?branch=2.0)](https://travis-ci.org/swagger-api/swagger-core)
84

95
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.
106

11-
Swagger-core is the Java implementation of Swagger. Current version supports *JAX-RS* and plain servlets. Integration with the Play! framework has been moved to [Swagger-Play](https://github.com/swagger-api/swagger-play).
12-
13-
Check out [Swagger-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project, including additional libraries with support for SpringMVC, other languages and more.
14-
15-
![Swagger Screenshot](https://raw.github.com/swagger-api/swagger-core/master/swagger-shot.jpg)
7+
Swagger-core is the Java implementation of Swagger. Current version supports *JAX-RS2*.
168

17-
## See the Wiki!
18-
The [github wiki](https://github.com/swagger-api/swagger-core/wiki) contains documentation, samples, contributions, etc. Start there.
9+
Check out the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project.
1910

2011
## Support
2112
The following methods are available to obtain support for Swagger:
@@ -24,23 +15,17 @@ The following methods are available to obtain support for Swagger:
2415
- The [Issues tab](https://github.com/swagger-api/swagger-core/issues?state=open) - Please open feature requests and bugs here. If you're not sure you encountered a bug, or if it's a general usage question, please use the Google Group mentioned above.
2516
- IRC! you can find us on [freenode](http://webchat.freenode.net/?channels=swagger) in the channel #Swagger. You can talk with us directly there.
2617

27-
28-
## Get started with Swagger!
29-
See the guide on [getting started with swagger](https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-JAX-RS-Project-Setup-1.5.X) to get started with adding swagger to your API.
30-
3118
## Compatibility
32-
The OpenAPI Specification has undergone 3 revisions since initial creation in 2010. The swagger-core project has the following compatibilities with the OpenAPI Specification:
19+
The OpenAPI Specification has undergone several revisions since initial creation in 2010. The swagger-core project has the following compatibilities with the OpenAPI Specification:
3320

3421
Swagger core Version | Release Date | OpenAPI Spec compatibility | Notes | Status
3522
------------------------- | ------------ | -------------------------- | ----- | ----
36-
1.5.12 | | 2.0 | [master](https://github.com/swagger-api/swagger-core) | Under Development
37-
1.5.10 (**current stable**)| 2016-08-19 | 2.0 | [tag v1.5.10](https://github.com/swagger-api/swagger-core/tree/v1.5.10) | Supported
38-
1.3.12 | 2014-12-23 | 1.2 | [tag v1.3.12](https://github.com/swagger-api/swagger-core/tree/v1.3.12) | Supported
23+
2.0.0-rc0 | | 3.0 | [2.0](https://github.com/swagger-api/swagger-core/tree/2.0) | Under Development
24+
1.5.16 (**current stable**)| 2017-07-05 | 2.0 | [tag v1.5.16](https://github.com/swagger-api/swagger-core/tree/v1.5.16) | Supported
25+
1.3.12 | 2014-12-23 | 1.2 | [tag v1.3.12](https://github.com/swagger-api/swagger-core/tree/v1.3.12) | Deprecated
3926
1.2.4 | 2013-06-19 | 1.1 | [tag swagger-project_2.10.0-1.2.4](https://github.com/swagger-api/swagger-core/tree/swagger-project_2.10.0-1.2.4) | Deprecated
4027
1.0.0 | 2011-10-16 | 1.0 | [tag v1.0](https://github.com/swagger-api/swagger-core/tree/v1.0) | Deprecated
4128

42-
## Where is Scala support?
43-
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 has moved to [swagger-play](https://github.com/swagger-api/swagger-play).
4429

4530
## Overview
4631
This is a project to build the swagger-core library, which is required for the Swagger implementation of the OpenAPI Spec.
@@ -51,12 +36,12 @@ If you're interested in the change history of swagger and the swagger-core frame
5136
### Prerequisites
5237
You need the following installed and available in your $PATH:
5338

54-
* Java 7 (http://java.oracle.com)
39+
* Java 8 (http://java.oracle.com)
5540
* Apache maven 3.0.4 or greater (http://maven.apache.org/)
5641
* Jackson 2.4.5 or greater
5742

5843

59-
### To build from source (currently 1.5.11)
44+
### To build from source (currently 2.0.0-SNAPSHOT)
6045
```
6146
# first time building locally
6247
mvn -N
@@ -73,8 +58,8 @@ Of course if you don't want to build locally you can grab artifacts from maven c
7358

7459
`http://repo1.maven.org/maven2/io/swagger/`
7560

76-
## Sample Apps - *UPDATED*
77-
The samples have moved to [a new repository](https://github.com/swagger-api/swagger-samples) and contain various integrations and configurations.
61+
## Sample Apps
62+
The samples have moved to [a new repository](https://github.com/swagger-api/swagger-samples/tree/2.0) and contain various integrations and configurations.
7863

7964

8065
## License
@@ -92,3 +77,28 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9277
See the License for the specific language governing permissions and
9378
limitations under the License.
9479
```
80+
81+
## v2.0.0-rc0 Notable Features:
82+
83+
- First official release candidate of OpenApi 3.0 support. swagger-core now produces OpenAPI 3.0 specs only. swagger-core 2.0 version is not backward compatible with previous 1.x versions.
84+
- Available on Maven central, and the sources are in the 2.0 branch. PRs should be submitted against the 2.0 branch.
85+
- Swagger JAX-RS 2 support
86+
- Java 8
87+
- Consistent integration mechanism
88+
89+
## v2.0.0-rc0 Limitations
90+
91+
- Resolve resource operations also when not annotated with `@Operation` _(swagger-jaxrs2)_
92+
- Implement `subtypes` field in `Schema` annotation, with related resolver processing _(swagger-annotations / core)_
93+
- Overriding full support _(swagger-core)_
94+
* Schema annotation `type` + `format` full support _(swagger-core)_
95+
* Schema annotation `implementation` field full support _(swagger-core)_
96+
- Filter / Reader listener support _(swagger-jaxrs2)_
97+
- Reader sub-resources support _(swagger-jaxrs2)_
98+
- Reader extensions full support _(swagger-jaxrs2)_
99+
- Annotations javadocs _(swagger-annotations)_
100+
- Annotations default values enhancement _(swagger-annotations / core)_
101+
- Integration layer enhancements:config file location enhanced loading, additional loaders, etc. _(swagger-integration, swagger-jaxrs)_
102+
- Consumes/Produces full support _(swagger-jaxrs2)_
103+
- JsonIdentity support _(swagger-core)_
104+
- `MatrixParam` annotation support

0 commit comments

Comments
 (0)