diff --git a/scripts/download-gql-schema.ts b/scripts/download-gql-schema.ts index 89d329c..eb49894 100644 --- a/scripts/download-gql-schema.ts +++ b/scripts/download-gql-schema.ts @@ -29,7 +29,11 @@ const schemas: [ [string | URL, GotOptions & { isStream?: true | undefined }], ][] = [ ['github', 'graphql', ['https://docs.github.com/public/schema.docs.graphql', {}]], - ['gitlab', 'json', ['https://gitlab.com/api/graphql', introspection]], + [ + 'gitlab', + 'graphql', + ['https://docs.gitlab.com/ee/api/graphql/reference/gitlab_schema.graphql', {}], + ], ]; Promise.all( diff --git a/src/vendor/gitlab/codegen.yml b/src/vendor/gitlab/codegen.yml index 5178878..5ae10f5 100644 --- a/src/vendor/gitlab/codegen.yml +++ b/src/vendor/gitlab/codegen.yml @@ -1,5 +1,5 @@ overwrite: true -schema: src/vendor/gitlab/schema.json +schema: src/vendor/gitlab/schema.graphql config: typesPrefix: GL generates: