Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Repository files navigation

Updating the OpenAPI

The process of updating the OpenAPI is mostly automated, you only need to run a few scripts. First determine the version you want for OpenAPI spec from the BCGov agent docker images (https://hub.docker.com/r/bcgovimages/aries-cloudagent/). Currently the default for the retrieve-openapi.sh script is "py3.9-0.10.1".

After that you can run the following commands to update the openapi.yml file.

cd acapy-openapi
# Retrieve the open api file, change py3.9-0.10.1 if you want another version
./scripts/retrieve-openapi.sh py3.9-0.10.1
# transform to OpenAPI V3
./scripts/convert-to-openapi3.sh
# Fix the openapi file (add missing operation ids from data/operation-id-map.yml)
./scripts/process-openapi.sh
# Apply manual patches to the openapi file
./scripts/apply-patch.sh

About

Cleaned up OpenAPI spec files for ACA-Py of various versions

Resources

Stars

5 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages