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

Update TxnOrPublishRevocationsResultSchema #3164

Merged
merged 10 commits into from
Aug 14, 2024

Conversation

cl0ete
Copy link
Contributor

@cl0ete cl0ete commented Aug 14, 2024

Update TxnOrPublishRevocationsResultSchema to accommodate changes made in PR #3107

Tweak return values from publish_revocations to match response model.

Ran the script generate-open-api-spec to update openapi.json and swagger.json files

@cl0ete cl0ete marked this pull request as ready for review August 14, 2024 09:53
@swcurran
Copy link
Contributor

Tested that the OpenAPI and SwaggerAPI files match the generated. I don’t know enough about the functionality to determine if it is right — adding reviewers. For reviewers — is this OK to go into 1.0.0 or should we hold it until that is complete?

@swcurran swcurran requested a review from jamshale August 14, 2024 17:54
Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks good.

@jamshale
Copy link
Contributor

jamshale commented Aug 14, 2024

@swcurran This should be safe to include in 1.0.0.

I didn't think it was important enough to need to get in, but we could include it if it doesn't hold anything up.

edit: If we wanted to change it later it would have to be considered a breaking change ( Although minor ). So might as well get it in.

Copy link

@jamshale jamshale merged commit 06f1d36 into openwallet-foundation:main Aug 14, 2024
9 checks passed
darshilnb pushed a commit to Northern-Block/aries-cloudagent-python that referenced this pull request Sep 5, 2024
)

* fix response for publish revocations

Signed-off-by: cl0ete <[email protected]>

* add logging

Signed-off-by: cl0ete <[email protected]>

* update model to make txn a list of TransactionRecordSchema

Signed-off-by: cl0ete <[email protected]>

* update return value to match response model

Signed-off-by: cl0ete <[email protected]>

* remove logging

Signed-off-by: cl0ete <[email protected]>

* ran script generate-open-api-spec

Signed-off-by: cl0ete <[email protected]>

* remove white space

Signed-off-by: cl0ete <[email protected]>

* TxnOrPublishRevocations... extends PublishRevocationsSchema

Signed-off-by: cl0ete <[email protected]>

* remove sent i.e. revert back

Signed-off-by: cl0ete <[email protected]>

* ran script generate-open-api-spec

Signed-off-by: cl0ete <[email protected]>

---------

Signed-off-by: cl0ete <[email protected]>
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.

3 participants