Skip to content
项目

swagger-api/swagger.io-docs has 1,553 GitHub stars and 405 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-11 18:14 UTC. Last push 2026-09-16.

这些数字如何统计

The content of swagger.io

实测星标增长

24小时
0
7天
-1
15天
更新延迟
1个月
更新延迟

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

For general support questions, please refer to the Community Forums.

Swagger Open Source Documentation

Welcome to the Swagger Open Source Documentation repository. This repository contains all the documentation for Swagger, an open-source suite of tools for API development, and OpenAPI Specification (FKA Swagger). The content of this repository is published at https://swagger.io/docs/.

Tech Stack

We use Astro to build and maintain our documentation. Astro is a powerful static site generator that allows us to create performant, content-rich documentation sites with ease.

Contributing

We welcome contributions from the community! To contribute:

  1. Fork the repository by clicking the "Fork" button on the top right of the repo page (this creates a copy under your GitHub account).
  2. Clone your fork (git clone https://github.com/your-username/swagger.io-docs.git).
  3. Create a new branch for your feature (git checkout -b feature-branch-name).
  4. Make your changes locally.
  5. Commit your changes (git commit -m 'Add some feature').
  6. Push to your fork (git push origin feature-branch-name).
  7. Open a pull request from your fork on GitHub.
  8. A maintainer will review your changes and merge them if approved.

Please ensure your change adheres to best practices and is well-documented.

Running the Documentation Locally

Getting Started

To get started with contributing to the Swagger Open Source Docs, follow these steps:

Prerequisites

Ensure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/swagger-api/swagger.io-docs.git
    cd swagger.io
    
  2. Install dependencies:

    npm install
    # or
    yarn install
    

Running the Development Server

To start the development server and view the documentation locally:

npm run dev
# or
yarn dev

This will start the development server at http://localhost:4321, where you can view and edit the documentation.

Building the Documentation

To build the documentation for production:

npm run build
# or
yarn build

The built files will be output to the dist directory.

探索相关项目