Formalize a few more things in the json?

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
json
領域
api

調査の方向性

DAP JSONスキーマと、issueで特定されたレスポンスおよびフィールドの説明を確認します。レスポンスリクエスト型とデフォルト値専用のスキーマフィールドを、自由記述だけで提供されている情報を置き換える一貫した構文で定義します。

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

説明

feature-request

Hello,

While making a parser for the DAP json, there were a few things that currently exist only as free-form text that I believe would be better to be also represented as formal json data, for tool consumption:

The request type that a response type is associated with.

This is currently is indicated by the sentence Response to <the request type>, such as RunInTerminalResponse: "description": "Response to 'runInTerminal' request."

Default values for fields.

There are a few fields that indicate what their default value should be, but only in free-form text:

(873):          "description": "If true all line numbers are 1-based (default)."
(877):          "description": "If true all column numbers are 1-based (default)."
(882):          "description": "Determines in what format paths are specified. The default is 'path', which is the native format."
(3413):          "description": "Datatype of values in this column.  Defaults to 'string' if not specified."

Would it be possible to extend the schema to also include this information as dedicated fields in the JSON?
If you have a syntax for both items I could submit a PR.

Thanks

主要言語
HTML
スター
1.8k
フォーク
173
平均マージ
7日 7時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

microsoft/debug-adapter-protocol のほかの issue

microsoft/debug-adapter-protocol の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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