-
Notifications
You must be signed in to change notification settings - Fork 283
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
fix(connector-ethereum): add missing openapi.json paths vendor extensions #2872
Comments
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Nov 10, 2023
1. Did a complete find & replace of the old vendor extensions and the new ones. In theory this is a change that the compiler guarantees for us to verify completely, but even with that said, I'll leave the CI on so that we can double check to be sure. This is also a BREAKING CHANGE because if someone had installed the older packages and they imported endpoint definitions from the OAS spec based on the vendor extensions then their could would stop compiling. Therefore this change must be done before we issue the 2.0.0 release. 2. Also added a bug-fix to tools/custom-checks/check-open-api-json-specs.ts because it wasn't just validating HTTP verbs within "paths" but also any property that was in there such as "summary" or "description" but of course those are string properties so they won't pass the validation we impose on HTTP verb definitions for the endpoints. Fixes hyperledger-cacti#2872 Signed-off-by: Peter Somogyvari <[email protected]>
5 tasks
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Nov 15, 2023
1. Did a complete find & replace of the old vendor extensions and the new ones. In theory this is a change that the compiler guarantees for us to verify completely, but even with that said, I'll leave the CI on so that we can double check to be sure. This is also a BREAKING CHANGE because if someone had installed the older packages and they imported endpoint definitions from the OAS spec based on the vendor extensions then their could would stop compiling. Therefore this change must be done before we issue the 2.0.0 release. 2. Also added a bug-fix to tools/custom-checks/check-open-api-json-specs.ts because it wasn't just validating HTTP verbs within "paths" but also any property that was in there such as "summary" or "description" but of course those are string properties so they won't pass the validation we impose on HTTP verb definitions for the endpoints. Fixes hyperledger-cacti#2872 Signed-off-by: Peter Somogyvari <[email protected]>
petermetz
added a commit
that referenced
this issue
Nov 15, 2023
1. Did a complete find & replace of the old vendor extensions and the new ones. In theory this is a change that the compiler guarantees for us to verify completely, but even with that said, I'll leave the CI on so that we can double check to be sure. This is also a BREAKING CHANGE because if someone had installed the older packages and they imported endpoint definitions from the OAS spec based on the vendor extensions then their could would stop compiling. Therefore this change must be done before we issue the 2.0.0 release. 2. Also added a bug-fix to tools/custom-checks/check-open-api-json-specs.ts because it wasn't just validating HTTP verbs within "paths" but also any property that was in there such as "summary" or "description" but of course those are string properties so they won't pass the validation we impose on HTTP verb definitions for the endpoints. Fixes #2872 Signed-off-by: Peter Somogyvari <[email protected]>
sandeepnRES
pushed a commit
to sandeepnRES/cacti
that referenced
this issue
Dec 21, 2023
1. Did a complete find & replace of the old vendor extensions and the new ones. In theory this is a change that the compiler guarantees for us to verify completely, but even with that said, I'll leave the CI on so that we can double check to be sure. This is also a BREAKING CHANGE because if someone had installed the older packages and they imported endpoint definitions from the OAS spec based on the vendor extensions then their could would stop compiling. Therefore this change must be done before we issue the 2.0.0 release. 2. Also added a bug-fix to tools/custom-checks/check-open-api-json-specs.ts because it wasn't just validating HTTP verbs within "paths" but also any property that was in there such as "summary" or "description" but of course those are string properties so they won't pass the validation we impose on HTTP verb definitions for the endpoints. Fixes hyperledger-cacti#2872 Signed-off-by: Peter Somogyvari <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
yarn custom-checks
returns with the following errors on the main branch as of 2023-11-10:Acceptance Criteria
yarn custom-checks
passes without errorsThe text was updated successfully, but these errors were encountered: