From 93e41ad4ed9a42d7dc13a7c4caba1c921b9463d9 Mon Sep 17 00:00:00 2001 From: kheiner Date: Thu, 12 Feb 2026 15:59:43 -0800 Subject: [PATCH] Add code samples to oauthProvider.yaml Added details explaining that oath is not available in Directus SDK and GraphQL. Fixes #42 This should also enable the REST endpoint to display. --- openapi/paths/auth/oauth/_provider/oauthProvider.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi/paths/auth/oauth/_provider/oauthProvider.yaml b/openapi/paths/auth/oauth/_provider/oauthProvider.yaml index 824227d..1242e85 100644 --- a/openapi/paths/auth/oauth/_provider/oauthProvider.yaml +++ b/openapi/paths/auth/oauth/_provider/oauthProvider.yaml @@ -35,3 +35,10 @@ responses: security: [] tags: - Authentication +x-codeSamples: + - label: Directus SDK + lang: JavaScript + source: Not available in Directus SDK/GraphQL + - label: GraphQL + lang: GraphQL + source: Not available in Directus SDK/GraphQL