Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cmd-api-server): aggregate swagger.json endpoints #16

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

petermetz
Copy link
Owner

WORK IN PROGRESS

Fixes hyperledger-cacti#431

Signed-off-by: Peter Somogyvari [email protected]

@petermetz petermetz force-pushed the main branch 2 times, most recently from 84f5278 to db3fe87 Compare January 31, 2024 01:26
@petermetz petermetz force-pushed the main branch 2 times, most recently from 9b5fd89 to 1dfcf17 Compare March 7, 2024 08:33
BREAKING CHANGE: Some of the schema elements that were redundant
got removed from the openapi.json spec of the memory plugin.
The same schemas are now being pulled from the core-api package.
In this sense there is no breaking change because these two
schemas were already equivalent anyway, but the fact is
the openapi.json had schema elements removed from it anyway
so this is something that people need to be aware of as they
upgrade to v2.0.0 in the near future.

1. Added the REST API endpoints to the plugin so that it is accessible over
HTTP for testing/demo purposes as necessary.
2. Also refactored the openapi.json spec file so that it pulls the schema
definitions from the core-api package the same way as the
keychain-memory-wasm plugin is doing already.

Signed-off-by: Peter Somogyvari <[email protected]>
(cherry picked from commit 8d0b9ac)
@petermetz petermetz force-pushed the petermetz/issue431 branch from f158001 to 15aee8e Compare March 11, 2024 19:06
@petermetz petermetz force-pushed the main branch 3 times, most recently from 6fc2ade to ebe7816 Compare September 30, 2024 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(cmd-api-server): aggregate swagger.json endpoints
1 participant