Kong / Kong/httpsnippet

Improve code snipper HTTP

オープン
#304 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.2k
フォーク
242
PR マージ指標
30日以内にマージされた PR はありません

説明

Describe the bug

When the HTTP code snippet is generated, it is generated with the first letter in uppercase and the format should be the same as in the header. A difference if the type CURL is selected maintains the correct format.

To Reproduce
Execute a example of request.
Clic in code snipper {}.
In code select HTTP.

Expected behavior
The expected behavior is to keep the same format as the header, as is done in the CURL.

Platform:

OS: Windows 10
vscode version: 1.66.2
extension version: 1.18.7

Example:

Screenshot type http:
![image](https://user-images.githubusercontent.com/20051737/190327916-ea60e182-21d6-4c8a-9f50-343728268941.png)
Screenshot type curl:
![image](https://user-images.githubusercontent.com/20051737/190327997-82c8cdae-81ec-4060-ad9b-a5dcb8ae3440.png)

best regards

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

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

調査の方向性

Start by reproducing the request-snippet steps in the issue and compare the generated HTTP and CURL outputs, focusing on capitalization and formatting. The work is done when the HTTP snippet preserves the same format as its header, matching the existing CURL behavior.

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

評価

技術スタック
typescript
領域
devtools
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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