Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add JSON-based setup option to authorization server conformance test

オープン
#225 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る

メンテナーはふだん 7 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript

調査の方向性

authorization conformance-test command と既存の command options の処理から始めます。JSON setup option を追加し、command options が JSON values と defaults より優先されるようにし、必要な authorization-server settings がない場合のエラーを維持します。3 つの example invocation cases を検証します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Background

In the future, conformance test for authorization server requires many options such as url, client_id, client_secret, redirect_uri.

Solution

Conformance test for authorization server provides the following setup options so that testers can choose their preferred setup option. The number is priority of the options. However, options unrelated to the authorization server, such as outputDir and specVersion, are not covered from these setup options.

  1. command options
  2. json file option
  3. default value

For Example

In the following case, http://auth1.example.com, which is set in url option, will be used.

npx @modelcontextprotocol/conformance authorization --file autorization-server-settings.json --url http://auth1.example.com

In the following case, http://auth2.example.com, which is set in autorization-server-settings.json, will be used.

npx @modelcontextprotocol/conformance authorization --file autorization-server-settings.json

autorization-server-settings.json

{
  "url": "http://auth2.example.com"
}

In the following case, conformance test for authorization server occures error.

npx @modelcontextprotocol/conformance authorization
主要言語
TypeScript
スター
131
フォーク
111
平均マージ
17日 14分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/conformance のほかの issue

modelcontextprotocol/conformance の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。