Allow checking for Set-Cookie _response_ headers
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- node.js, openapi, typescript
調査の方向性
Start by tracing how response headers are normalized and validated, then inspect the header schema handling used for response validation. Reproduce the issue with the supplied 204 response and Set-Cookie example; done means validation recognizes the response cookie header instead of reporting it missing. No source file or test is named in the issue, so first locate the relevant validation tests and entry point.
索引モデルが issue の本文から書いたものです。
説明
I do response validation, and I want to make sure that when my login endpoint is responding with a successful http response code that it's setting at least one cookie.
I put this in my spec:
responses: {
"204": {
description: "success",
headers: {
"Set-Cookie": {
description: "Cookie",
schema: {
type: "string",
minLength: 1,
But validation always fails, despite the chrome inspector telling me that there were two "Set-Cookie" headers.
Here's the error from openid-backend:
{
"keyword": "required",
"dataPath": ".headers",
"schemaPath": "#/properties/headers/required",
"params": {
"missingProperty": "set-cookie"
},
"message": "should have required property 'set-cookie'"
}
- 主要言語
- TypeScript
- スター
- 689
- フォーク
- 97
- 平均マージ
- 2時間 36分
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openapistack/openapi-backend のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
openapistack/openapi-backend#1046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
openapistack/openapi-backend#1047 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 44/100
openapistack/openapi-backend#860 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
openapistack/openapi-backend#814 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
openapistack/openapi-backend#809 ·
メンテナーはふだん 1 日以内に返信
openapistack/openapi-backend の issue をすべて見る
似ている issue
-
Recording drops clicks on links, filters and checkboxes that share a form with a search field対応中かも @columbia11 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Tencent/BrowserSkill#657 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
Choosing a folder while continuing an Antigravity session submits a history fork the runtime rejectsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
-
ai-handle
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextlevelbuilder/dewee-web-v2#138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NEARBuilders/citynode.app#512 ·
メンテナーはふだん 1 日以内に返信