-
Notifications
You must be signed in to change notification settings - Fork 21
Updating TRAPI Workflow Operations
Amy Glen edited this page Aug 18, 2022
·
1 revision
- Manually update implemented operations in OA3 ARAX yaml
- Run workflow2yaml.py and look at printed output
- copy printed output to OA3 ARAX yaml
- Do this in the query section, async query section, and response section
- $defs -> components/schemas
- copy other workflow printed output: Everything after Components: schema: then paste at the bottom of the file replacing what is already there
- Copy all the above changes into openapi/openapi.yaml
- Run the replaceall for each endpoint as the user rt:
cd ../../UI/OpenAPI/python-flask-server
cd openapi_server/openapi
mv openapi.yaml openapi.yaml-prev1
git pull
replaceall.pl 'arax.ncats.io/' 'arax.ncats.io/devED/' openapi.yaml
- restart each endpoint and check it is updated in swagger ui