Skip to content

Commit

Permalink
Release 1.1.1 (#38)
Browse files Browse the repository at this point in the history
* Start update

* Run npm run generate:server:latest

* Bump project version to 1.1.1
  • Loading branch information
tschaffter authored May 17, 2021
1 parent 8458055 commit b1faefd
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 12 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ channel that best matches the topic of your request.

<!-- Links -->

[Code of Conduct]: https://github.com/nlpsandbox/date-annotator-example/blob/develop/CODE_OF_CONDUCT.md
[Code of Conduct]: https://github.com/nlpsandbox/date-annotator-example/blob/develop/.github/CODE_OF_CONDUCT.md
[upstream remote]: https://help.github.com/en/articles/configuring-a-remote-for-a-fork
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[docs site]: https://github.com/nlpsandbox/nlpsandbox-website-synapse
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ node_modules/
.env
dist.yaml
openapi.yaml
openapitools.json
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ of predicted date annotations found in the clinical note.

### Specification

- Date Annotator API version: 1.1.0
- Tool version: 1.1.0
- Date Annotator API version: 1.1.1
- Tool version: 1.1.1
- Docker image: [nlpsandbox/date-annotator-example-java]

## Model
Expand Down Expand Up @@ -217,7 +217,7 @@ its performance on public and private datasets.
## Contributing

Thinking about contributing to this project? Get started by reading our
[Contributor Guide](CONTRIBUTING.md).
[Contributor Guide].

## License

Expand All @@ -237,3 +237,4 @@ Thinking about contributing to this project? Get started by reading our
[nlpsandbox/nlpsandbox-schemas]: https://github.com/nlpsandbox/nlpsandbox-schemas
[semantic versioning]: https://semver.org/
[OpenAPITools/openapi-generator]: https://github.com/OpenAPITools/openapi-generator
[Contributor Guide]: .github/CONTRIBUTING.md
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"

services:
date-annotator:
image: nlpsandbox/date-annotator-example-java:1.1.0
image: nlpsandbox/date-annotator-example-java:1.1.1
build:
context: server
dockerfile: Dockerfile
Expand Down
7 changes: 7 additions & 0 deletions openapitools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "5.1.1"
}
}
2 changes: 1 addition & 1 deletion server/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.1
5.1.1
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>openapi-spring</artifactId>
<packaging>jar</packaging>
<name>openapi-spring</name>
<version>1.1.0</version>
<version>1.1.1</version>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down
8 changes: 4 additions & 4 deletions server/src/main/java/org/openapitools/api/ToolApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ default Optional<NativeWebRequest> getRequest() {
default ResponseEntity<Tool> getTool() {
Tool tool = new Tool()
.name("date-annotator-example-java")
.version("1.1.0")
.version("1.1.1")
.license(License.APACHE_2_0)
.repository("github:nlpsandbox/date-annotator-example-java")
.description("Example implementation of the NLP Sandbox Date Annotator")
.author("The NLP Sandbox Team")
.authorEmail("[email protected]")
.author("NLP Sandbox Team")
.authorEmail("[email protected]")
.url(URI.create("https://github.com/nlpsandbox/date-annotator-example-java"))
.type("nlpsandbox:date-annotator")
.apiVersion("1.1.0");
.apiVersion("1.1.1");
return new ResponseEntity<Tool>(tool, HttpStatus.OK);
}

Expand Down

0 comments on commit b1faefd

Please sign in to comment.