Skip to content

Commit

Permalink
Release 1.1.1 (#8)
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

* Update Lock threads workflow
  • Loading branch information
tschaffter authored May 17, 2021
1 parent bffac72 commit 772a9ea
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 14 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
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Lock Threads'
name: Lock threads

on:
schedule:
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 @@ -21,8 +21,8 @@ note.

### Specification

- ID Annotator API version: 1.1.0
- Tool version: 1.1.0
- ID Annotator API version: 1.1.1
- Tool version: 1.1.1
- Docker image: [nlpsandbox/id-annotator-example]

## Model
Expand Down Expand Up @@ -238,7 +238,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 @@ -258,3 +258,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:
id-annotator:
image: nlpsandbox/id-annotator-example:1.1.0
image: nlpsandbox/id-annotator-example: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"
}
}
6 changes: 3 additions & 3 deletions server/openapi_server/controllers/tool_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ def get_tool(): # noqa: E501
"""
tool = Tool(
name="id-annotator-example",
version="1.1.0",
version="1.1.1",
license=License.APACHE_2_0,
repository="github:nlpsandbox/id-annotator-example",
description="Example implementation of the NLP Sandbox ID Annotator",
author="The NLP Sandbox Team",
author="NLP Sandbox Team",
author_email="[email protected]",
url="https://github.com/nlpsandbox/id-annotator-example",
type="nlpsandbox:id-annotator",
api_version="1.1.0"
api_version="1.1.1"
)
return tool, 200

Expand Down
10 changes: 6 additions & 4 deletions server/openapi_server/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ info:
name: Apache 2.0
url: https://github.com/nlpsandbox/nlpsandbox-schemas/blob/develop/LICENSE
title: NLP Sandbox ID Annotator API
version: 1.1.0
version: 1.1.1
x-logo:
url: https://nlpsandbox.github.io/nlpsandbox-schemas/logo.png
servers:
Expand Down Expand Up @@ -412,7 +412,7 @@ components:
authorEmail: [email protected]
url: https://example.com
type: nlpsandbox:date-annotator
apiVersion: 1.1.0
apiVersion: 1.1.1
properties:
name:
description: The tool name
Expand Down Expand Up @@ -483,7 +483,7 @@ components:
authorEmail: [email protected]
url: https://example.com
type: nlpsandbox:date-annotator
apiVersion: 1.1.0
apiVersion: 1.1.1
- name: awesome-nlp-tool
version: 1.0.6
license: apache-2.0
Expand All @@ -493,7 +493,7 @@ components:
authorEmail: [email protected]
url: https://example.com
type: nlpsandbox:date-annotator
apiVersion: 1.1.0
apiVersion: 1.1.1
properties:
tools:
description: A list of tools
Expand All @@ -520,4 +520,6 @@ components:
- ssn
- vehicle
type: string
required:
- idType
type: object

0 comments on commit 772a9ea

Please sign in to comment.