Proprietary API reference for the Enterprise platform, built with Scalar Docs.
This repository is the source of truth for the Enterprise API documentation. It contains:
- 1,236 API operations across 20 modules
- Interactive Scalar API reference powered by the OpenAPI 3.1 spec
- Guide pages for authentication, getting started, and each module
enterprise-api-docs/
├── docs/
│ ├── api-reference/
│ │ ├── openapi.all-modules.json # Aggregate OpenAPI 3.1 spec
│ │ └── *.json # Per-module spec files
│ └── guides/
│ ├── introduction.md
│ ├── getting-started.md
│ └── authentication.md
├── scalar.config.json # Scalar Docs 2.0 configuration
├── LICENSE # Proprietary
└── README.md
- Node.js 18+
npx @scalar/cli project previewThe docs will be available at http://localhost:7970 with live reload on every file change.
npx @scalar/cli project check-configThe Scalar API Reference is a standalone HTML widget with no server-side dependencies. The recommended self-hosted setup is a static NGINX container serving a single index.html that loads the spec from the same origin or a CDN.
# Dockerfile
FROM nginx:alpine
COPY docs/api-reference/openapi.all-modules.json /usr/share/nginx/html/openapi.json
COPY k8s/nginx.conf /etc/nginx/conf.d/default.conf
COPY k8s/index.html /usr/share/nginx/html/index.htmlk8s/index.html — minimal Scalar embed:
<!DOCTYPE html>
<html>
<head>
<title>Enterprise API</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<script
id="api-reference"
data-url="/openapi.json"
src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
</body>
</html># k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: enterprise-api-docs
labels:
app: enterprise-api-docs
spec:
replicas: 2
selector:
matchLabels:
app: enterprise-api-docs
template:
metadata:
labels:
app: enterprise-api-docs
spec:
containers:
- name: docs
image: ghcr.io/thefuturebegins/enterprise-api-docs:latest
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
---
apiVersion: v1
kind: Service
metadata:
name: enterprise-api-docs
spec:
selector:
app: enterprise-api-docs
ports:
- port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: enterprise-api-docs
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
rules:
- host: docs.enterprise.internal
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: enterprise-api-docs
port:
number: 80docker build -t ghcr.io/thefuturebegins/enterprise-api-docs:latest .
docker push ghcr.io/thefuturebegins/enterprise-api-docs:latest
kubectl apply -f k8s/Copyright © 2026 Enterprise Marketplace Ltd. All rights reserved.
This documentation is proprietary and confidential. Use is governed by the Enterprise Master Services Agreement. Unauthorized reproduction, distribution, or disclosure is strictly prohibited.