Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
🌐 Add Japanese translation fordocs/ja/docs/tutorial/body-fields.md#1923
Conversation
…/ryuckel/fastapi into feature/add-japanese-translation
codecovbot commentedAug 19, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@## master #1923 +/- ##=========================================== Coverage 100.00% 100.00% =========================================== Files 540 239 -301 Lines 13969 7079 -6890 ===========================================- Hits 13969 7079 -6890 ☔ View full report in Codecov by Sentry. |
📝 Docs preview for commit9fc88ac at:https://5f3d4119908e2382bc6e75cd--fastapi.netlify.app |
docs/ja/docs/tutorial/body-fields.md Outdated
| まず、以下のようにインポートします: | ||
| ```Python hl_lines="2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
hl_lines="4"
docs/ja/docs/tutorial/body-fields.md Outdated
| 以下のように`Field`をモデルの属性として使用することができます: | ||
| ```Python hl_lines="9 10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
hl_lines="11 12 13 14"
docs/ja/docs/tutorial/body-fields.md Outdated
| `Body`は`FieldInfo`のサブクラスのオブジェクトを直接返すこともできます。そして、他にも`Body`クラスのサブクラスであるものがあります。 | ||
| `fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
`fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。docs/ja/docs/tutorial/body-fields.md Outdated
| `fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。 | ||
| !!! tip "豆知識" | ||
| 型、デフォルト値、`Field`を持つ各モデルの属性が、`Path`や`Query`、`Body`の代わりに`Field`を持つ、*path operation 関数の*パラメータと同じ構造になっていることに注目してください。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
型、デフォルト値、`Field`を持つ各モデルの属性が、`Path`や`Query`、`Body`の代わりに`Field`を持つ、*path operation 関数の*パラメータと同じ構造になっていることに注目してください。docs/ja/docs/tutorial/body-fields.md Outdated
| 追加情報は`Field`や`Query`、`Body`などで宣言することができます。そしてそれは生成されたJSONスキーマに含まれます。 | ||
| 追加情報を追加することについては、後に例を宣言することを学ぶときに学びます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
後に例を用いて宣言を学ぶ際に、追加情報を加える方法を学べます。
📝 Docs preview for commitc0b6e32 at:https://5f41529d848e3d0cb51f2eed--fastapi.netlify.app |
tokusumi left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
📝 Docs preview for commit036485f at:https://5f4cbfe9a088291bc77b0ec4--fastapi.netlify.app |
📝 Docs preview for commite1408a3 at:https://5f9aa2acd6418518b655b1a9--fastapi.netlify.app |
docs/ja/docs/tutorial/body-fields.mdtiangolo commentedJun 26, 2023
📝 Docs preview for commit372e5fe at:https://6499c16045da210e5d1f21a2--fastapi.netlify.app |
Uh oh!
There was an error while loading.Please reload this page.
This PR translates the tutorial/body-fields.md to Japanese.
Please review tutorial/body-fields.md
Issue#1571 generates a new directory to support Japanese.
PR#1656 generates a new directory for tutorial.
I will fix dependency after#1571 ٸ are merged.