Skip to content

Commit

Permalink
removed SpringfoxLoaderController
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlehansen committed May 31, 2017
1 parent 76c4c00 commit 0cdb143
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 98 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The jar-file available in [JCenter](https://bintray.com/jarlehansen/maven/spring

_build.gradle_
```groovy
compile('com.github.springfox.loader:springfox-loader:1.1.2')
compile('com.github.springfox.loader:springfox-loader:1.2.0')
```

### Maven
Expand Down Expand Up @@ -123,7 +123,6 @@ __Application properties__
* springfox.license.url
* springfox.activeProfiles - _Enable springfox for the configured profiles. If not set, all profiles loads springfox. Default is all profiles._
* springfox.swagger-ui-base-path
* springfox.endpoints - _Enables springfox-loader endpoints, see [Springfox loader endpoints](#springfox-loader-endpoints) for more details_

### Swagger UI

Expand All @@ -147,12 +146,6 @@ public void init() {
}
```

### Springfox loader endpoints

`GET /springfox-loader/api-docs`

Returns the swagger api-docs with [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) enabled.

### References
* [Springfox Reference Documentation](http://springfox.github.io/springfox/docs/current/)
* [Swagger Core Annotations](https://github.com/swagger-api/swagger-core/wiki/Annotations-1.5.X)
16 changes: 2 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.springfox.loader</groupId>
<artifactId>springfox-loader</artifactId>
<version>1.1.3-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -15,9 +15,7 @@
<cglib.version>3.2.5</cglib.version>
<jackson.version>2.8.8</jackson.version>
<lombok.version>1.16.16</lombok.version>
<reflections.version>0.9.11</reflections.version>
<guava.version>22.0</guava.version>
<jsonpath.version>2.2.0</jsonpath.version>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
Expand Down Expand Up @@ -63,21 +61,11 @@
<version>${spring.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>${jsonpath.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down Expand Up @@ -144,7 +132,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<version>2.20</version>
<configuration>
<includes>
<include>**/*Spec.java</include>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 0cdb143

Please sign in to comment.