Skip to content

Conversation

@bscholtes1A
Copy link
Contributor

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.

@bscholtes1A bscholtes1A added bug Something isn't working api labels May 5, 2025
@bscholtes1A bscholtes1A self-assigned this May 5, 2025
@bscholtes1A bscholtes1A force-pushed the fix/repair_swagger_spec_generation branch from 7dd636f to 960edce Compare May 5, 2025 08:23
}
)
Collection<VerifiableCredentialResource> queryCredentialsByType(String type, SecurityContext securityContext);
Collection<VerifiableCredentialResource> queryCredentialsByType(String participantContextId, String type, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
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

The parameter 'participantContextId' is never used.
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

The parameter 'credentialId' is never used.
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

The parameter 'participantContextId' is never used.
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

The parameter 'credentialId' is never used.
@bscholtes1A bscholtes1A requested review from paullatzelsperger and wolf4ood and removed request for paullatzelsperger May 5, 2025 11:08
@bscholtes1A bscholtes1A force-pushed the fix/repair_swagger_spec_generation branch from 960edce to 68fa48a Compare May 16, 2025 08:46
}
)
void publishDid(DidRequestPayload didRequestPayload, SecurityContext securityContext);
void publishDid(String participantContextId, DidRequestPayload didRequestPayload, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
void unpublishDid(DidRequestPayload didRequestPayload, SecurityContext securityContext);
void unpublishDid(String participantContextId, DidRequestPayload didRequestPayload, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
Collection<DidDocument> queryDids(QuerySpec querySpec, SecurityContext securityContext);
Collection<DidDocument> queryDids(String participantContextId, QuerySpec querySpec, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
String getDidState(DidRequestPayload request, SecurityContext securityContext);
String getDidState(String participantContextId, DidRequestPayload request, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
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

The parameter 'participantContextId' is never used.
}
)
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

The parameter 'participantContextId' is never used.
}
)
KeyPairResource getKeyPair(String id, SecurityContext securityContext);
KeyPairResource getKeyPair(String participantContextId, String id, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
void activateKeyPair(String keyPairResourceId, SecurityContext securityContext);
void activateKeyPair(String participantContextId, String keyPairResourceId, SecurityContext securityContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
}
)
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

The parameter 'participantContextId' is never used.
}
)
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

The parameter 'participantContextId' is never used.
@github-actions
Copy link

This pull request is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label May 27, 2025
@github-actions github-actions bot removed the stale label May 29, 2025
@bscholtes1A bscholtes1A force-pushed the fix/repair_swagger_spec_generation branch from 68fa48a to a53d46a Compare June 2, 2025 08:55
@bscholtes1A bscholtes1A merged commit dee0bb8 into eclipse-edc:main Jun 2, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generated Swagger spec are not valid

2 participants