Updating TRAPI Workflow Operations - RTXteam/RTX GitHub Wiki
Updating the workflow operations that ARAX knows about
- 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