here's the OpenAPI v4 description available in their git repo.
https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/openapi/openapi.yaml?plain=1
Answer from Jeremy Fiel on Stack OverflowI know this may be a dumb question, but is there any chance gitlab has its OpenAPI/swagger json built into gitlab itself? I.E. on an offline instance I can go to something like https://gitlab.example.com/api/v4/swagger.json? I l am trying it pull the API definitions for our suite of applications for security purposes.
I had found the online version and yeah sure I could pull the spec from gitlab.com, but getting that file moved to the offline environment where it is needed is... troublesome. I'm also not going to hand transcribe it because I'm an engineer not a data entry clerk.