logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.15k stars 395 forks source link

refactor(core): remove subject token api prefix #6235

Closed wangsijie closed 1 month ago

wangsijie commented 1 month ago

Summary

Per discusson, remove the "security" prefix of subject tokens API.

Testing

Existing tests should pass.

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +80 Bytes

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/init.ts|:chart_with_upwards_trend: +7 Bytes| |packages/core/src/routes/security/index.openapi.json|:chart_with_upwards_trend: +1.08 KB| |packages/core/src/routes/security/index.ts|:chart_with_upwards_trend: +1.69 KB| |packages/core/src/routes/subject-token.openapi.json|:chart_with_upwards_trend: +1.16 KB| |packages/core/src/routes/subject-token.ts|:chart_with_upwards_trend: +1.69 KB| |packages/core/src/routes/swagger/index.ts|:chart_with_upwards_trend: +6 Bytes| |packages/core/src/routes/swagger/utils/operation-id.ts|:chart_with_upwards_trend: +3 Bytes| |packages/integration-tests/src/api/subject-token.ts|:chart_with_upwards_trend: +9 Bytes|