Official documentation website for the OASWrap Go libraries — built with Docusaurus.
- spec — Framework-agnostic OpenAPI 3.x specification builder for Go
- spec-ui — Multiple OpenAPI documentation UIs as Go HTTP handlers
- gswag — Go testing DSL for OpenAPI-driven API specs and validation
- Node.js >= 20.0
npm install
npm startOpens a local dev server at http://localhost:3000. Most changes are reflected live without restarting.
npm run buildGenerates static files into the build/ directory.
Deployment is automated via GitHub Actions on every push to main. The workflow builds the site and deploys it to GitHub Pages.
To deploy manually, ensure the GitHub Pages source is set to GitHub Actions in the repository settings.
blog/ # Blog posts (release notes, articles)
docs/
├── intro.md # Ecosystem overview
├── gswag/ # gswag library documentation
│ ├── ...
├── spec/ # spec library documentation
│ ├── adapters/ # Framework adapter guides
│ └── ...
└── spec-ui/ # spec-ui library documentation
├── providers/ # UI provider guides
└── ...
src/
├── pages/ # Landing page
├── components/ # React components
└── css/ # Global styles
static/
└── img/ # Logo and favicon
.github/
└── workflows/
└── deploy.yml # GitHub Actions deployment