Skip to content

feat: add set-url command to update specUrl in api-config.json#25

Open
mimihalescu wants to merge 1 commit into
masterfrom
feat/set-url-command
Open

feat: add set-url command to update specUrl in api-config.json#25
mimihalescu wants to merge 1 commit into
masterfrom
feat/set-url-command

Conversation

@mimihalescu
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new codex set-url <url> command that updates the specUrl field in api-config.json stored in S3
  • Eliminates the need to manually download, edit, and re-upload the file when the upstream API spec URL changes
  • Preserves the existing format field untouched

Test plan

  • Run npm install && npm run build to verify it compiles
  • Configure S3 credentials with codex config
  • Run ./bin/run set-url https://new-url.com/spec.json and verify the terminal shows old → new URL
  • Confirm the change was persisted by re-initialising or reading api-config.json from S3

🤖 Generated with Claude Code

Allows updating the upstream API spec URL stored in S3 without
manually downloading, editing, and re-uploading api-config.json.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant