feat: start Atom feed implementation

This commit is contained in:
Maël Gangloff
2025-04-27 12:13:06 +02:00
parent c940fba01a
commit c0dcb2f848
8 changed files with 561 additions and 117 deletions

View File

@@ -92,6 +92,52 @@ use Symfony\Component\Uid\Uuid;
new Delete(
security: 'object.user == user'
),
new Get(
routeName: 'watchlist_rss_status',
defaults: ['_format' => 'xml'],
openapiContext: [
'responses' => [
'200' => [
'description' => 'Domain EPP status RSS feed',
'content' => [
'application/atom+xml' => [
'schema' => [
'type' => 'string',
'format' => 'text',
],
],
],
],
],
],
read: false,
deserialize: false,
serialize: false,
name: 'rss_status'
),
new Get(
routeName: 'watchlist_rss_events',
defaults: ['_format' => 'xml'],
openapiContext: [
'responses' => [
'200' => [
'description' => 'Domain events RSS feed',
'content' => [
'application/atom+xml' => [
'schema' => [
'type' => 'string',
'format' => 'text',
],
],
],
],
],
],
read: false,
deserialize: false,
serialize: false,
name: 'rss_events'
),
],
)]
class WatchList