Doppelauge is a set of six libraries for the Play Framework. All code should be thoroughly tested.
- Json library: J
- Json pattern matcher: JsonMatcher
- Json value changer: JsonChanger
- Json value diff: JsonDiff
- Swagger 2.0 Api doc generator: API_DOC.md
- Test by annotation test system: TEST_BY_ANNOTATION.md
http://sun-opsys.github.io/Doppelauge/
Branch upgrading-deps has support
for 2.5.x
, but you need to inject the base classes used in ApiDoc using the same constructs as given in the specs, i.e. InjectHelper trait.
This branch is only tested with static routers. Dependency injected Controllers are not tested, and probably will not work . Look at the source code and the methods marked @deprecated. There are also functions using the injected Environment. You need to use these, and create a new Api that exposes them publically. PRs are welcome.
- The master branch uses Play 2.4.
- Play 2.3 is supported in the play_2.3 branch, but is less updated.
Add the following lines to build.sbt:
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies += "com.github.sun-opsys" % "doppelauge" % "1.3.5"
More info here: https://jitpack.io/#sun-opsys/doppelauge (gradle/maven/etc.)
The name "Doppelauge" was suggested by Hans Wilmers.
Copyright 2013-2015 SUN/OPSYS at University of Oslo.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.