Skip to content

Commit

Permalink
Provide a default page for GreenMail WAR (issue #106)
Browse files Browse the repository at this point in the history
Replace OpenAPI version number with version from POM
  • Loading branch information
marcelmay committed Oct 22, 2019
1 parent d7644da commit f77b2dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions greenmail-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
</archive>
<webResources>
<resource>
<directory>src/main/webapp</directory>
<includes>
<include>greenmail-openapi.yml</include>
</includes>
<filtering>true</filtering>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion greenmail-webapp/src/main/webapp/greenmail-openapi.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
openapi: "3.0.0"
info:
version: 1.0.0
version: "${project.version}"
title: GreenMail OpenAPI
description: <p>RESTful API for GreenMail web application</p>
license:
Expand Down

0 comments on commit f77b2dc

Please sign in to comment.