MapColonies / MapColonies/geocoding
express-openapi-validator ignores securitySchemes token query param (MAPCO-5197)
オープン
まだ誰も着手していません。
bug
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
In the next version `0.1.4`, users will be able to authenticate via `token` query parameter.
For some reason, `express-openapi-validator` ignores the `token` definition in `securitySchemes` and I had to manually set token as a query param in every route. We need to check if theres another and more elegant solution.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start by inspecting how express-openapi-validator processes OpenAPI securitySchemes and how this repository defines routes. Reproduce the token query-parameter case, then confirm that authentication works without manually adding token to every route.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- express, openapi, typescript
- 領域
- api, authentication, backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100