-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
In Talk we have a middleware which e.g. takes care of federated authentication. We should therefore document the x-nextcloud-federation header on all controller methods that support federation.
There is 1 inconvenience with this and 1 error:
- It's duplicating the existing
#[FederationSupported]attribute we have and if that one extendsRequestHeaderit is not reflected in the docs. - When adding it manually the openapi-extractor is complaining, even though the header is read in the depth of the middleware:
Error: Avatar#getAvatar: Unused request header descriptions: x-nextcloud-federation
Error: Avatar#getAvatarDark: Unused request header descriptions: x-nextcloud-federation
Error: Avatar#getUserProxyAvatarWithoutRoom: Unused request header descriptions: x-nextcloud-federation
Error: Avatar#getUserProxyAvatarDarkWithoutRoom: Unused request header descriptions: x-nextcloud-federation
Error: Avatar#getUserProxyAvatar: Unused request header descriptions: x-nextcloud-federation
Error: Avatar#getUserProxyAvatarDark: Unused request header descriptions: x-nextcloud-federation
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
☑️ Done