docs: add OpenAPI description on the operations

This commit is contained in:
Maël Gangloff
2025-12-07 17:01:21 +01:00
parent 82992c4be9
commit 5a31e53234
9 changed files with 93 additions and 15 deletions

View File

@@ -19,6 +19,8 @@ use Symfony\Component\Serializer\Attribute\Groups;
new GetCollection(
uriTemplate: '/icann-accreditations',
openapiContext: [
'summary' => 'Retrieve ICANN accreditations',
'description' => 'This endpoint allows you to list the accreditations of registrars issued by ICANN. It is also possible to search to retrieve only currently valid accreditations.',
'parameters' => [
[
'name' => 'status',