From ca9d16ec85535bbb829c188ec09ef7622fab626b Mon Sep 17 00:00:00 2001 From: Kazuhito Suda Date: Tue, 27 Feb 2024 22:12:05 +0900 Subject: [PATCH 1/2] Fix typo --- doc/manuals/user/walkthrough_apiv2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manuals/user/walkthrough_apiv2.md b/doc/manuals/user/walkthrough_apiv2.md index a9f78876f1..568b208a7f 100644 --- a/doc/manuals/user/walkthrough_apiv2.md +++ b/doc/manuals/user/walkthrough_apiv2.md @@ -210,7 +210,7 @@ Some additional remarks: different port. - In order to pretty-print JSON in responses, you can use Python with - msjon.tool (examples along with tutorial are using this style). Replace + mjson.tool (examples along with tutorial are using this style). Replace `python` by the particular Python executable in your case (e.g. in some cases it could be `| python3 -mjson.tool`). From ca2ab8e44f669b23d8413c1ea921f92309564bbf Mon Sep 17 00:00:00 2001 From: Kazuhito Suda Date: Tue, 27 Feb 2024 22:12:26 +0900 Subject: [PATCH 2/2] (JP) FIX add comment about Python interpreter in walkthrough_apiv2.md (#4524) --- doc/manuals.jp/user/walkthrough_apiv2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manuals.jp/user/walkthrough_apiv2.md b/doc/manuals.jp/user/walkthrough_apiv2.md index 433f3231b0..9ea87203cc 100644 --- a/doc/manuals.jp/user/walkthrough_apiv2.md +++ b/doc/manuals.jp/user/walkthrough_apiv2.md @@ -166,7 +166,7 @@ curl ... -H 'Content-Type: application/json' ... - 例では、broker がポート1026をリッスンしていると仮定しています。異なるポートを使用している場合は、curl コマンドラインでこれを調整してください -- レスポンスで JSON をきれいに印刷するために、Python を msjon.tool とともに使用することができます (チュートリアルの例ではこのスタイルを使用しています) : +- レスポンスで JSON をきれいに印刷するために、Python を mjson.tool とともに使用することができます (チュートリアルの例ではこのスタイルを使用しています) : `python` をあなたのケースによって特定の Python 実行可能ファイルに置き換えます (たとえば、ケースによっては `| python3 -mjson.tool` になる可能性があります)。 ``` (curl ... | python -mjson.tool) <