Skip to content

Fix unscoped npx openapi-generator command in documentation - #2657

Merged
betinacosta merged 3 commits into
mainfrom
docs/unsafe-npx-generate-openapi-client-docs
Nov 13, 2026
Merged

betinacosta merged 3 commits into
mainfrom
docs/unsafe-npx-generate-openapi-client-docs

Conversation

@betinacosta

Copy link
Copy Markdown
Member

Summary

Details

docs-js/features/openapi/generate-openapi-client.mdx line 39 documented npx openapi-generator, which resolves against the public npm registry to a package not owned or audited by SAP. The scoped package @sap-cloud-sdk/openapi-generator was already used correctly everywhere else in the same file.

Test plan

  • Verify the command in the docs resolves to @sap-cloud-sdk/openapi-generator on the public registry
  • Confirm no other unscoped npx invocations remain in the docs for SAP Cloud SDK packages

betinacosta and others added 3 commits October 16, 2026 15:37
Replace bare `npx openapi-generator` with the SAP-scoped
`npx @sap-cloud-sdk/openapi-generator` to prevent dependency confusion
attacks (PSINC0013626).
@betinacosta
betinacosta merged commit 161a307 into main Nov 13, 2026
6 checks passed
@betinacosta
betinacosta deleted the docs/unsafe-npx-generate-openapi-client-docs branch November 13, 2026 20:12
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.

2 participants