dongminl/Swagger UI to Cloudflare Pages
Converts an OpenAPI/Swagger JSON/YAML spec into Swagger UI static files and deploys them to Cloudflare Pages.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| spec-file-path | Path to the OpenAPI/Swagger spec file (e.g. build/api-spec/openapi3.yaml) | yes | — |
| cloudflare-account-id | Cloudflare account ID | yes | — |
| cloudflare-api-token | Cloudflare API token | yes | — |
| project-name | Cloudflare Pages project name | yes | — |
| output-dir | Directory name where Swagger UI static files will be generated | no | swagger-ui |
| github-token | GitHub token used by the Swagger UI action and the Wrangler action | yes | — |
Outputs
no outputs