-
Notifications
You must be signed in to change notification settings - Fork 47
fix: repair generated swagger apis #719
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: repair generated swagger apis #719
Conversation
7dd636f to
960edce
Compare
.../eclipse/edc/identityhub/api/verifiablecredentials/v1/unstable/VerifiableCredentialsApi.java
Dismissed
Show dismissed
Hide dismissed
.../eclipse/edc/identityhub/api/verifiablecredentials/v1/unstable/VerifiableCredentialsApi.java
Dismissed
Show dismissed
Hide dismissed
| } | ||
| ) | ||
| Collection<VerifiableCredentialResource> queryCredentialsByType(String type, SecurityContext securityContext); | ||
| Collection<VerifiableCredentialResource> queryCredentialsByType(String participantContextId, String type, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
.../eclipse/edc/identityhub/api/verifiablecredentials/v1/unstable/VerifiableCredentialsApi.java
Dismissed
Show dismissed
Hide dismissed
| Response suspendCredential(String participantContextId, String credentialId); | ||
|
|
||
| @Operation(description = "Resumes a credential with the given ID for the given participant. Resumed credentials will be removed from the Revocation List.", | ||
| operationId = "resumeCredential", |
Check notice
Code scanning / CodeQL
Useless parameter Note
| Response suspendCredential(String participantContextId, String credentialId); | ||
|
|
||
| @Operation(description = "Resumes a credential with the given ID for the given participant. Resumed credentials will be removed from the Revocation List.", | ||
| operationId = "resumeCredential", |
Check notice
Code scanning / CodeQL
Useless parameter Note
| Response resumeCredential(String participantContextId, String credentialId); | ||
|
|
||
| @Operation(description = "Checks the revocation status of a credential with the given ID for the given participant.", | ||
| operationId = "checkCredentialStatus", |
Check notice
Code scanning / CodeQL
Useless parameter Note
| Response resumeCredential(String participantContextId, String credentialId); | ||
|
|
||
| @Operation(description = "Checks the revocation status of a credential with the given ID for the given participant.", | ||
| operationId = "checkCredentialStatus", |
Check notice
Code scanning / CodeQL
Useless parameter Note
...dc/identityhub/api/verifiablecredentials/v1/unstable/VerifiableCredentialsApiController.java
Show resolved
Hide resolved
.../eclipse/edc/identityhub/api/verifiablecredentials/v1/unstable/VerifiableCredentialsApi.java
Show resolved
Hide resolved
960edce to
68fa48a
Compare
| } | ||
| ) | ||
| void publishDid(DidRequestPayload didRequestPayload, SecurityContext securityContext); | ||
| void publishDid(String participantContextId, DidRequestPayload didRequestPayload, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void unpublishDid(DidRequestPayload didRequestPayload, SecurityContext securityContext); | ||
| void unpublishDid(String participantContextId, DidRequestPayload didRequestPayload, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| Collection<DidDocument> queryDids(QuerySpec querySpec, SecurityContext securityContext); | ||
| Collection<DidDocument> queryDids(String participantContextId, QuerySpec querySpec, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| String getDidState(DidRequestPayload request, SecurityContext securityContext); | ||
| String getDidState(String participantContextId, DidRequestPayload request, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void addDidEndpoint(String did, Service service, boolean autoPublish, SecurityContext securityContext); | ||
| void addDidEndpoint(String participantContextId, String did, Service service, boolean autoPublish, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void deleteDidEndpoint(String did, String serviceId, boolean autoPublish, SecurityContext securityContext); | ||
| void deleteDidEndpoint(String participantContextId, String did, String serviceId, boolean autoPublish, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| KeyPairResource getKeyPair(String id, SecurityContext securityContext); | ||
| KeyPairResource getKeyPair(String participantContextId, String id, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void activateKeyPair(String keyPairResourceId, SecurityContext securityContext); | ||
| void activateKeyPair(String participantContextId, String keyPairResourceId, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void rotateKeyPair(String id, KeyDescriptor newKey, long duration, SecurityContext securityContext); | ||
| void rotateKeyPair(String participantContextId, String id, KeyDescriptor newKey, long duration, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| } | ||
| ) | ||
| void revokeKeyPair(String id, KeyDescriptor newKey, SecurityContext securityContext); | ||
| void revokeKeyPair(String participantContextId, String id, KeyDescriptor newKey, SecurityContext securityContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
|
This pull request is stale because it has been open for 7 days with no activity. |
68fa48a to
a53d46a
Compare
What this PR changes/adds
Make generated Swagger spec valid after generation.
Why it does that
Fix swagger.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Who will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Linked Issue(s)
Closes #718
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.