コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 3 of about 3 for unique (0.001 sec.)
Generate Clients 11273
Generate Clients Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . As FastAPI is based on the OpenAPI specification, you get automatic compatibility with many tools, ... ient generator uses the OpenAPI internal operation ID for each path operation . OpenAPI requires that each operation ID is unique across all the path operations , so FastAPI uses the function name , the path , and the HTTP method/operation to generate ... that operation ID, because that way it can make sure that the operation IDs are unique. But I'll show you how to improve that next. ? Custom Operation IDs and Better Method Names You can modify the way these o ... them simpler and have simpler method names in the clients. In this case you will have to ensure that each operation ID is unique in some other way. For example, you could make sure that each path operation has a tag, and then generate the operation ID ...
https://man.mtool.work/fastapi/0.115/advanced/generate-clients/
Path Operationの設定 9803
Path Operationの設定 path operationデコレータ を設定するためのパラメータがいくつかあります。 注意 これらのパラメータは path operation関数 ではなく、 path operationデコレータ に直接渡されることに注意してください。 レスポンスステータスコード ... ry = "Create an item" , description = "Create an item with all the information, name, description, price, tax and a set of unique tags" , ) async def create_item ( item : Item ): return item ? Other versions and variants Python 3.10+ Python 3.9+ from f ... ry = "Create an item" , description = "Create an item with all the information, name, description, price, tax and a set of unique tags" , ) async def create_item ( item : Item ): return item from typing import Union from fastapi import FastAPI from pyd ... ry = "Create an item" , description = "Create an item with all the information, name, description, price, tax and a set of unique tags" , ) async def create_item ( item : Item ): return item docstringを用いた説明 説明文は長くて複数行におよぶ傾向があるの ...
https://man.mtool.work/fastapi/0.115/tutorial/path-operation-configuration/
Path Operationの高度な設定 6808
Path Operationの高度な設定 OpenAPI operationId 注意 あなたがOpenAPIの「エキスパート」でなければ、これは必要ないかもしれません。 path operation で operation_id パラメータを利用することで、OpenAPIの operationId を設定できます。 operation_id は ... : a long description - **price**: required - **tax**: if the item doesn't have tax, you can omit this - **tags**: a set of unique tag strings for this item \f :param item: User input. """ return item ...
https://man.mtool.work/fastapi/0.115/advanced/path-operation-advanced-configurat...
PREV 1 NEXT