🌐
GitHub
github.com › swagger-api
Swagger · GitHub
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
open-source framework to design, build, document, and consume RESTful Web APIs
Swagger is a suite of tools for API developers from SmartBear Software and a former specification upon which the OpenAPI Specification is based. The Swagger API project was created in 2011 by … Wikipedia
Factsheet
Initial release 2011; 15 years ago (2011)
License Apache License 2.0
Factsheet
Initial release 2011; 15 years ago (2011)
License Apache License 2.0
🌐
GitHub
github.com › swagger-api › swagger-ui
GitHub - swagger-api/swagger-ui: Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. · GitHub
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. - swagger-api/swagger-ui
Starred by 28.8K users
Forked by 9.3K users
Languages   JavaScript 94.7% | SCSS 4.2%
🌐
GitHub
github.com › swagger-api › swagger-core
GitHub - swagger-api/swagger-core: Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API · GitHub
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API - swagger-api/swagger-core
Starred by 7.5K users
Forked by 2.3K users
Languages   Java
🌐
Swagger
swagger.io › blog › api-development › generator-openapi-repo
API repository on GitHub in less than 20 minutes
OK, you are on the swagger.io site so you might be planning to write an OpenAPI specification for your API or you already have the one. How about publishing it on GitHub?Publishing specification on GitHubGitHub repository with OpenAPI specification has several benefits:Hosting on GitHub Pages (pe...
🌐
GitHub
github.com › swagger-api › swagger-editor
GitHub - swagger-api/swagger-editor: Swagger Editor · GitHub
Swagger Editor. Contribute to swagger-api/swagger-editor development by creating an account on GitHub.
Starred by 9.4K users
Forked by 2.4K users
Languages   JavaScript 82.5% | TypeScript 13.3% | SCSS 3.7%
🌐
GitHub
github.com › CiscoDevNet › rest-api-swagger
GitHub - CiscoDevNet/rest-api-swagger: A tutorial for building a REST API microservice using swagger-node · GitHub
A tutorial for building a REST API microservice using swagger-node - CiscoDevNet/rest-api-swagger
Starred by 18 users
Forked by 15 users
Languages   HTML 54.9% | JavaScript 39.1% | Makefile 5.7% | Shell 0.3%
Top answer
1 of 1
3

As of July 2020, GitHub publishes its REST API definitions in OpenAPI 3.0 format here:

https://github.com/github/rest-api-description


Official announcement:

OpenAPI Description of REST API

GitHub published a full description of its REST API in OpenAPI 3.0 specification compliant documents.

The GitHub OpenAPI description contains more than 600 operations exposed in our API.
For visual exploration of the API, you can load the description as a Postman Collection.
Programmatically, the description can be used to generate mock servers, test suites, and bindings for languages not supported by Octokit.

The description is provided under two formats.

  • The bundled version is preferred for most use cases as it makes use of OpenAPI components for reuse and readability.
  • For tooling that has poor support for inline references to components, we also provide a fully dereferenced version.

Quarterly releases of the description are available for GitHub Enterprise Server and GitHub Private Instances, with versions like v2.21. More frequent updates to the description will be available for GitHub.com.

This feature is offered in beta as open source with an MIT license, [in this repository github/rest-api-description.


APIs.guru OpenAPI directory also contains unofficial definitions for GitHub REST API in OpenAPI 2.0 format, which may or may not be up-to-date:
https://api.apis.guru/v2/specs/github.com/v3/swagger.json (JSON)
https://api.apis.guru/v2/specs/github.com/v3/swagger.yaml (YAML)

🌐
GitHub
github.com › swagger-api › swagger-ui › blob › master › docs › usage › installation.md
swagger-ui/docs/usage/installation.md at master · swagger-api/swagger-ui
swagger-ui is meant for consumption by JavaScript web projects that include module bundlers, such as Webpack, Browserify, and Rollup. Its main file exports Swagger UI's main function, and the module also includes a namespaced stylesheet at ...
Author   swagger-api
Find elsewhere
🌐
DEV Community
dev.to › jonasbn › hosting-swagger-ui-using-github-pages-4335
Hosting Swagger-UI using GitHub Pages - DEV Community
February 24, 2025 - Finally I added a GitHub Action to validate the Swagger definition file using the swagger-validator action: on: push name: Validate API swagger definition file jobs: validate: runs-on: ubuntu-latest steps: - name: Get OpenAPI/Swagger definition file uses: actions/checkout@v4 - name: Validate OpenAPI/Swagger definition file uses: mbowman100/swagger-validator-action@master with: files: swagger.json
🌐
GitHub
github.com › topics › swagger-api
swagger-api · GitHub Topics · GitHub
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
🌐
GitHub
github.com › orgs › swagger-api › repositories
swagger-api repositories · GitHub
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagg…
🌐
GitHub
github.com › acacode › swagger-typescript-api
GitHub - acacode/swagger-typescript-api: Generate the API Client for Fetch or Axios from an OpenAPI Specification · GitHub
Generate the API Client for Fetch or Axios from an OpenAPI Specification - acacode/swagger-typescript-api
Starred by 4.1K users
Forked by 428 users
Languages   TypeScript 87.2% | EJS 9.7% | JavaScript 3.1%
🌐
GitHub
github.com › swagger-api › swagger-samples
GitHub - swagger-api/swagger-samples: Samples for the various Swagger projects under swagger-api · GitHub
October 30, 2023 - This repository serves for samples for various projects. Right now it contains the samples for swagger-core under the java library.
Starred by 543 users
Forked by 872 users
Languages   JavaScript 64.9% | Java 28.1% | Scala 2.5% | CSS 2.3% | HTML 1.9% | Groovy 0.2%
🌐
GitHub
github.com › swagger-api › swagger-ui › releases › tag › v5.32.4
Release v5.32.4 · swagger-api/swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. - Release v5.32.4 · swagger-api/swagger-ui
Author   swagger-api
🌐
GitHub
github.com › swagger-api › swagger-ui › releases
Releases · swagger-api/swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. - Releases · swagger-api/swagger-ui
Author   swagger-api
🌐
GitHub
github.com › swagger-api › swagger-js
GitHub - swagger-api/swagger-js: Javascript library to connect to swagger-enabled APIs via browser or nodejs · GitHub
Javascript library to connect to swagger-enabled APIs via browser or nodejs - swagger-api/swagger-js
Starred by 2.7K users
Forked by 759 users
Languages   JavaScript
🌐
GitHub
github.com › swagger-api › swagger-petstore
GitHub - swagger-api/swagger-petstore · GitHub
This is the pet store sample hosted at https://petstore3.swagger.io. For other versions, check the branches. We welcome suggestion both the code and the API design.
Starred by 318 users
Forked by 431 users
Languages   Java 78.2% | Shell 7.7% | Python 7.6% | HTML 5.8% | Dockerfile 0.7%
🌐
GitHub
github.com › swagger-api › swagger-parser
GitHub - swagger-api/swagger-parser: Swagger Spec to Java POJOs · GitHub
Swagger Spec to Java POJOs. Contribute to swagger-api/swagger-parser development by creating an account on GitHub.
Starred by 859 users
Forked by 548 users
Languages   Java
🌐
GitHub
github.com › swagger-api › swagger-codegen
GitHub - swagger-api/swagger-codegen: swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. · GitHub
This is the Swagger Codegen project, which allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec.
Starred by 17.7K users
Forked by 6K users
Languages   Mustache 53.0% | Java 37.9% | Shell 5.1% | TypeScript 1.3% | Batchfile 0.6% | Apex 0.3%
🌐
GitHub
github.com › peter-evans › swagger-github-pages
GitHub - peter-evans/swagger-github-pages: How to host Swagger API documentation with GitHub Pages · GitHub
This repository is a template for using the Swagger UI to dynamically generate beautiful documentation for your API and host it for free with GitHub Pages.
Starred by 524 users
Forked by 147 users
Languages   HTML