For general support questions, please refer to the Community Forums.
░█▀▄░█░█░▀█▀░░░█░█░▀█▀░▀█▀░█░█░█▀█░█░█░▀█▀
░█▀▄░█░█░░█░░░░█▄█░░█░░░█░░█▀█░█░█░█░█░░█░
░▀▀░░▀▀▀░░▀░░░░▀░▀░▀▀▀░░▀░░▀░▀░▀▀▀░▀▀▀░░▀░
░█▀▄░█▀█░█▀█░█▀█░█▀▀░█▀▄░█▀▀░░░▄▀░
░█▀▄░█▀█░█░█░█░█░█▀▀░█▀▄░▀▀█░░░▄█▀
░▀▀░░▀░▀░▀░▀░▀░▀░▀▀▀░▀░▀░▀▀▀░░░░▀▀
░▀█▀░█▀▄░█▀█░█▀▀░█░█░█▀▀░█▀▄░█▀▀
░░█░░█▀▄░█▀█░█░░░█▀▄░█▀▀░█▀▄░▀▀█
░░▀░░▀░▀░▀░▀░▀▀▀░▀░▀░▀▀▀░▀░▀░▀▀▀
This is currently a fork. The main goal of it is to remove all trackers and promo that, unfortunately, are placed in swagger official docs.
If you have found any suspicious background activity clearly reminiscent of data send off, feel free to leave a pull request or throw an issue)
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/.
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.
We welcome contributions from the community! To contribute:
- Fork the repository by clicking the "Fork" button on the top right of the repo page (this creates a copy under your GitHub account).
- Clone your fork (
git clone https://github.com/your-username/swagger.io-docs.git). - Create a new branch for your feature (
git checkout -b feature-branch-name). - Make your changes locally.
- Commit your changes (
git commit -m 'Add some feature'). - Push to your fork (
git push origin feature-branch-name). - Open a pull request from your fork on GitHub.
- A maintainer will review your changes and merge them if approved.
Please ensure your change adheres to best practices and is well-documented.
To get started with contributing to the Swagger Open Source Docs, follow these steps:
Ensure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/swagger-api/swagger.io-docs.git cd swagger.io -
Install dependencies:
npm install # or yarn install
To start the development server and view the documentation locally:
npm run dev
# or
yarn devThis will start the development server at http://localhost:4321, where you can view and edit the documentation.
To build the documentation for production:
npm run build
# or
yarn buildThe built files will be output to the dist directory.
