Home repository
nlpsandbox / covid-symptom-annotator-example Goto Github PK
View Code? Open in Web Editor NEWExample implementation of the NLP Sandbox COVID Symptom Annotator API
License: Apache License 2.0
Example implementation of the NLP Sandbox COVID Symptom Annotator API
License: Apache License 2.0
The command python -m openapi_server
throws the following error:
$ python -m openapi_server
Traceback (most recent call last):
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/tschaffter/dev2/nlpsandbox/covid-symptom-annotator-example/server/openapi_server/__main__.py", line 19, in <module>
main()
File "/home/tschaffter/dev2/nlpsandbox/covid-symptom-annotator-example/server/openapi_server/__main__.py", line 11, in main
app.add_api('openapi.yaml',
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/apps/flask_app.py", line 57, in add_api
api = super(FlaskApp, self).add_api(specification, **kwargs)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/apps/abstract.py", line 144, in add_api
api = self.api_cls(specification,
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/apis/abstract.py", line 75, in __init__
self.specification = Specification.load(specification, arguments=arguments)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/spec.py", line 153, in load
return cls.from_file(spec, arguments=arguments)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/spec.py", line 107, in from_file
return cls.from_dict(spec)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/spec.py", line 145, in from_dict
return OpenAPISpecification(spec)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/spec.py", line 38, in __init__
self._validate_spec(raw_spec)
File "/home/tschaffter/.conda/envs/data-node/lib/python3.9/site-packages/connexion/spec.py", line 239, in _validate_spec
raise InvalidSpecification.create_from(e)
connexion.exceptions.InvalidSpecification: Required list has not defined properties: ['condition', 'start', 'text', 'certainty', 'confidence', 'length']
Can't currently approve of PR's
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.