Skip to content

Commit 92c6674

Browse files
committed
it's alive!
1 parent c186be8 commit 92c6674

14 files changed

Lines changed: 2466 additions & 1 deletion

File tree

.github/workflows/sync-postman.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Sync Postman Collection
2+
3+
on:
4+
# push:
5+
# branches: [main]
6+
# paths:
7+
# - 'spec/open-api-spec.yaml'
8+
# - 'scripts/postman/**'
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: postman-sync
13+
cancel-in-progress: true
14+
15+
jobs:
16+
sync:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
21+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
22+
with:
23+
node-version: '24'
24+
cache: 'npm'
25+
26+
- run: npm ci
27+
28+
- name: Generate and upload Postman collection
29+
run: npx tsx scripts/postman/generate-and-upload.ts
30+
env:
31+
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
32+
POSTMAN_COLLECTION_UID: ${{ secrets.POSTMAN_COLLECTION_UID }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
dist/
3+
*.local.json

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"[github-actions-workflow]": {
3+
"editor.defaultFormatter": "redhat.vscode-yaml"
4+
},
5+
"[markdown]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[json]": {
9+
"editor.defaultFormatter": "vscode.json-language-features"
10+
}
11+
}

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 WorkOS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
# openapi-spec
1+
# WorkOS OpenAPI Specification
2+
3+
This repository contains the [OpenAPI specification](https://github.com/OAI/OpenAPI-Specification) for the [WorkOS API](https://workos.com/docs/reference).
4+
5+
## Overview
6+
7+
The WorkOS API provides a comprehensive platform for enterprise-ready features including:
8+
9+
- **User Management** - Authentication, identity, and user lifecycle management
10+
- **Organization Management** - Multi-tenancy and organization-level configurations
11+
- **Directory Sync** - Automated user provisioning with SCIM and directory providers
12+
- **Single Sign-On (SSO)** - SAML and OIDC identity provider integrations
13+
- **Audit Logs** - Comprehensive event logging and exports
14+
- **API Keys** - Programmatic access management
15+
- **Authorization** - Role-based access control (RBAC) and permissions
16+
17+
## Specification
18+
19+
- **OpenAPI Version:** 3.1.1
20+
- **Format:** YAML
21+
- **File:** [`spec/open-api-spec.yaml`](spec/open-api-spec.yaml)
22+
23+
## Generating Postman Collections
24+
25+
This repository includes scripts to generate Postman collections from the OpenAPI specification. See the `scripts/postman` folder for more information.
26+
27+
## Support
28+
29+
- [WorkOS Documentation](https://workos.com/docs)
30+
- [API Reference](https://workos.com/docs/reference)
31+
- [Support](https://workos.com/support)
32+
33+
## License
34+
35+
This OpenAPI specification is available under the [MIT License](LICENSE).

0 commit comments

Comments
 (0)