Skip to content

Commit cf8e8a5

Browse files
PAMulliganclaude
andauthored
feat(scripts): add Postman collection generation to project setup (#112)
setup-project.sh now generates postman/collection.json (Health, Auth, Resources folders, base_url/auth_token variables, collection-level pre-request script that injects the bearer token), a platform-aware postman/environment.json (port 3000 for Node, 8787 for Workers), and a project README with import and regeneration instructions. generate-openapi-docs.sh now tags the starter spec endpoints and, after exporting the spec, regenerates the Postman collection from it via openapi-to-postmanv2, then re-applies the base_url/auth_token variables and the auth pre-request script the converter cannot know about. Closes #59 Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent d46e3ca commit cf8e8a5

2 files changed

Lines changed: 273 additions & 0 deletions

File tree

scripts/generate-openapi-docs.sh

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/setup-project.sh

Lines changed: 207 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)