Skip to content

Conversation

@bscholtes1A
Copy link
Contributor

@bscholtes1A bscholtes1A commented Jun 2, 2025

What this PR changes/adds

Use status code 204 in swagger spec for APIs that does not return anything.

Why it does that

Fix.

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 #731

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

}
)
Response revokeCredential(String participantContextId, String credentialId, SecurityContext context);
void revokeCredential(String participantContextId, String credentialId, SecurityContext context);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'participantContextId' is never used.
@bscholtes1A bscholtes1A force-pushed the fix/swagger_spec_status_codes branch 2 times, most recently from 04f6ade to ef72b49 Compare June 3, 2025 07:27
@bscholtes1A bscholtes1A requested review from ndr-brt, paullatzelsperger and wolf4ood and removed request for ndr-brt, paullatzelsperger and wolf4ood June 3, 2025 07:36
@bscholtes1A bscholtes1A force-pushed the fix/swagger_spec_status_codes branch 3 times, most recently from 75e1d48 to f44573f Compare June 6, 2025 13:14
@ndr-brt
Copy link
Member

ndr-brt commented Jun 9, 2025

@bscholtes1A once CI will be green we can merge

@bscholtes1A bscholtes1A force-pushed the fix/swagger_spec_status_codes branch 3 times, most recently from 8044b29 to 24b087e Compare June 10, 2025 12:42
@bscholtes1A bscholtes1A force-pushed the fix/swagger_spec_status_codes branch from 24b087e to ec4449b Compare June 11, 2025 08:38
@bscholtes1A bscholtes1A merged commit 434ca92 into eclipse-edc:main Jun 11, 2025
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.

Use 204 status code instead of 204 for no-content APIs

4 participants