Skip to content

ericklv/scalar-multiple-apis

Repository files navigation

Scalar Multiple APIs

Simple landing to show all your OpenAPI files powered by Scalar API Reference.

Imgur

Customize

In the src/config folder you can customize the json files.

  • apis.json : Add all your OpenAPI/Swagger files.
  • company.json : Customize with your info.
  • ts-particles/*.json : Add your own JSON file with config for ts-particles animation or use default.json. Check in company.json if ts-particles is enabled.

To load custom animation config edit src/components/ts_particles.tsx

import { default_ as config } from '../config/ts-particles';

const ParticlesBg = () => { 
    //...
}

Run locally

  1. Install node v18.18.0 or superior.
  2. In root directory, run the following commands:
npm install
npm run dev
  1. If you want test on local network
npm run dev -- --host

Packages

Scalar API Reference

Generate interactive API Docs from OpenAPI/Swagger documents.

TS Particles

A lightweight TypeScript library for creating particles compatible with React, Vue, Angular and others.

React TypeScript Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available: