swagger installation, SYNCOPE-700
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/54db1893 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/54db1893 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/54db1893 Branch: refs/heads/master Commit: 54db189335d308adc174a9993ca1ca6862b9f2c7 Parents: ce7cad4 Author: Massimiliano Perrone <massimiliano.perr...@tirasa.net> Authored: Tue Dec 15 11:44:16 2015 +0100 Committer: Massimiliano Perrone <massimiliano.perr...@tirasa.net> Committed: Tue Dec 15 18:08:02 2015 +0100 ---------------------------------------------------------------------- .../restfulservices/restful-reference.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/54db1893/src/main/asciidoc/workingwithapachesyncope/restfulservices/restful-reference.adoc ---------------------------------------------------------------------- diff --git a/src/main/asciidoc/workingwithapachesyncope/restfulservices/restful-reference.adoc b/src/main/asciidoc/workingwithapachesyncope/restfulservices/restful-reference.adoc index 73bcf83..3c9c145 100644 --- a/src/main/asciidoc/workingwithapachesyncope/restfulservices/restful-reference.adoc +++ b/src/main/asciidoc/workingwithapachesyncope/restfulservices/restful-reference.adoc @@ -35,6 +35,18 @@ image::restSchemaReferenceLogger.png[restSchemaReferenceLogger] ===== Swagger UI From the 2.0 version, Syncope offers also the Swagger UI to work with its services. + +The Swagger installation is really simple because you just add the Maven dependency to your core pom.xml file generated +from the archetype operation; the dependency is: +[source, xml] +---- +<dependency> + <groupId>org.apache.syncope.ext</groupId> + <artifactId>syncope-ext-swagger-ui</artifactId> + <version>${syncope.version}</version> +</dependency> +---- + The swagger interface is available going to the URL [source] -- @@ -59,4 +71,4 @@ Now in version 2.0, Swagger is more enabling than ever. And it's 100% open sourc To be consistent with the example, below the image shows the Swagger UI used to read the configuration of _org.apache.syncope.core.rest_ -image::swaggerLoggerRead.png[swaggerLoggerRead] +image::swaggerLoggerRead.png[swaggerLoggerRead] \ No newline at end of file