- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tag (0.17 sec)
-
docs/de/docs/tutorial/bigger-applications.md
Aber wir wollen schlauer sein und den Code etwas vereinfachen. Wir wissen, dass alle *Pfadoperationen* in diesem Modul folgendes haben: * Pfad-`prefix`: `/items`. * `tags`: (nur ein Tag: `items`). * Zusätzliche `responses`. * `dependencies`: Sie alle benötigen die von uns erstellte `X-Token`-Abhängigkeit. Anstatt also alles zu jeder *Pfadoperation* hinzuzufügen, können wir es dem `APIRouter` hinzufügen.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:27:59 GMT 2024 - 21.1K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
But we want to be smarter and simplify the code a bit. We know all the *path operations* in this module have the same: * Path `prefix`: `/items`. * `tags`: (just one tag: `items`). * Extra `responses`. * `dependencies`: they all need that `X-Token` dependency we created. So, instead of adding all that to each *path operation*, we can add it to the `APIRouter`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0)