Skip to content

Remove curl -k flag from OpenAPI spec description files#1207

Open
sserrata wants to merge 1 commit intomasterfrom
remove-curl-k-openapi-specs
Open

Remove curl -k flag from OpenAPI spec description files#1207
sserrata wants to merge 1 commit intomasterfrom
remove-curl-k-openapi-specs

Conversation

@sserrata
Copy link
Copy Markdown
Member

Summary

  • Removes the -k (--insecure) flag from curl examples across all OpenAPI spec description files under openapi-specs/
  • Follows up on Remove curl -k (insecure) flag from docs code samples #1186 which removed the flag from hand-authored docs under products/
  • 6,460 files updated, covering all versioned compute directories (30-03 through 34-02), compute/desc/, and cwpp/desc/

The -k flag disables TLS certificate verification and should not be recommended in documentation examples as it encourages insecure practices.

Test plan

  • Verified zero remaining curl -k occurrences in openapi-specs/
  • Spot-checked representative files to confirm formatting is intact
  • Confirm site build succeeds

🤖 Generated with Claude Code

The -k (--insecure) flag disables TLS certificate verification and
should not be recommended in documentation examples as it encourages
insecure practices. This follows up on PR #1186 which removed the
flag from hand-authored docs under products/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 260760f):

https://pan-dev-f1b58--pr1207-vllaahjf.web.app

(expires Thu, 23 Apr 2026 18:16:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 9359a9fa100d5fdb082f75280473a90b1f96eb51

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