Skip to content

Commit

Permalink
Fix version for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonegit committed Jul 10, 2018
1 parent 4ee734b commit d1ddc65
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ kumuluzee:
After startup OpenAPI UI is available at: http://localhost:8080/api-specs/ui.
If you want to disable OpenAPI Dependency you can set the following property:
```yaml
kumuluzee:
openapi:
enabled: false
```
## Changelog
Recent changes can be viewed on Github on the [Releases Page](https://github.com/kumuluz/kumuluzee-openapi/releases)
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>kumuluzee-openapi-parent</artifactId>
<groupId>com.kumuluz.ee.openapi</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void init(KumuluzServerWrapper kumuluzServerWrapper, EeConfig eeConfig) {

ConfigurationUtil configurationUtil = ConfigurationUtil.getInstance();

if (configurationUtil.getBoolean("kumuluzee.openapi.spec.enabled").orElse(true)) {
if (configurationUtil.getBoolean("kumuluzee.openapi.enabled").orElse(true)) {

LOG.info("Initializing OpenAPI extension.");

Expand Down
3 changes: 1 addition & 2 deletions openapi-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>kumuluzee-openapi-parent</artifactId>
<groupId>com.kumuluz.ee.openapi</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -42,7 +42,6 @@
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void init(KumuluzServerWrapper kumuluzServerWrapper, EeConfig eeConfig) {
URL webApp = ResourceUtils.class.getClassLoader().getResource("swagger-ui");

if (webApp != null && configurationUtil.getBoolean("kumuluzee.openapi.ui.enabled").orElse(true) && configurationUtil
.getBoolean("kumuluzee.openapi.spec.enabled").orElse(true)) {
.getBoolean("kumuluzee.openapi.enabled").orElse(true)) {
swaggerUiParams.put("resourceBase", webApp.toString());
server.registerServlet(DefaultServlet.class, "/api-specs/ui/*", swaggerUiParams, 1);

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.kumuluz.ee.openapi</groupId>
<artifactId>kumuluzee-openapi-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
<modules>
<module>core</module>
<module>openapi-ui</module>
Expand All @@ -27,14 +27,14 @@
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<kumuluzee.version>2.5.2</kumuluzee.version>
<kumuluzee.version>2.5.3</kumuluzee.version>

<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
<nexus.staging.plugin.version>1.6.8</nexus.staging.plugin.version>
<gpg.plugin.version>1.6</gpg.plugin.version>
<swagger.version>2.0.2</swagger.version>
<swagger-ui.version>3.17.0</swagger-ui.version>
<jersey-container-servlet.version>2.25.1</jersey-container-servlet.version>
<jersey-container-servlet.version>2.27</jersey-container-servlet.version>
<jackson-dataformat-csv.version>2.8.10</jackson-dataformat-csv.version>

<maven.plugin.api.version>3.5.0</maven.plugin.api.version>
Expand Down

0 comments on commit d1ddc65

Please sign in to comment.