Results of 1 - 7 of about 7 for names (0.004 sec.)
- Generate Clients 12977
- 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,
...e things ordered and grouped correctly for the client code: In this case you have: ItemsService UsersService Client Method Names Right now the generated method names like createItemItemsPost don't look very clean: ItemsService . createItemItemsPost ({...re 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 operation IDs are generated to make them simpler and have simpler method names in the clients...ate Unique ID Function FastAPI uses a unique ID for each path operation , it is used for the operation ID and also for the names of any needed custom models, for requests or responses. You can customize that function. It takes an APIRoute and outputs... - https://man.mtool.work/fastapi/0.115/advanced/generate-clients/
- Path Operationの高度な設定 10378
- Path Operationの高度な設定 OpenAPI operationId 注意 あなたがOpenAPIの「エキスパート」でなければ、これは必要ないかもしれません。 path operation で operation_id パラメータを利用することで、OpenAPIの operationId を設定できます。 operation_id は
...t APIRoute app = FastAPI () @app . get ( "/items/" ) async def read_items (): return [{ "item_id" : "Foo" }] def use_route_names_as_operation_ids ( app : FastAPI ) -> None : """ Simplify operation IDs so that generated API clients have simpler functio...n names. Should be called only after all routes have been added. """ for route in app . routes : if isinstance ( route , APIRoute...): route . operation_id = route . name # in this case, 'read_items' use_route_names_as_operation_ids ( app ) 豆知識 app.openapi() を手動でコールする場合、その前に operationId を更新する必要があります。 注意... - https://man.mtool.work/fastapi/0.115/advanced/path-operation-advanced-configurat...
- OpenAPI Webhooks 8560
- OpenAPI Webhooks Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . There are cases where you want to tell your API users that your app could call their app (sending
...want to in your own code . Documenting webhooks with FastAPI and OpenAPI With FastAPI , using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. POST , PUT , etc.) and the request bodies tha... - https://man.mtool.work/fastapi/0.115/advanced/openapi-webhooks/
- Advanced Middleware 8433
- Advanced Middleware Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . In the main tutorial you read how to add Custom Middleware to your application. And then you al
...def main (): return { "message" : "Hello World" } The following arguments are supported: allowed_hosts - A list of domain names that should be allowed as hostnames. Wildcard domains such as *.example.com are supported for matching subdomains. To allo... - https://man.mtool.work/fastapi/0.115/advanced/middleware/
- Repository Management Tasks 7906
- Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can
...d normally be in the ISO 639-1 list of language codes . In any case, the language code should be in the file docs/language_names.yml . There won't be yet a label for the language code, for example, if it was Bosnian, there wouldn't be a lang-bs . Befo... - https://man.mtool.work/fastapi/0.115/management-tasks/
- Simple OAuth2 with Password and Bearer 7779
- Simple OAuth2 with Password and Bearer Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . Now let's build from the previous chapter and add the missing parts to have
...t don't worry, you can show it as you wish to your final users in the frontend. And your database models can use any other names you want. But for the login path operation , we need to use these names to be compatible with the spec (and be able to, fo... - https://man.mtool.work/fastapi/0.115/tutorial/security/simple-oauth2/
- Release Notes 7524
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
...? Add Ukrainian translation for docs/uk/docs/tutorial/body-nested-models.md . PR #13409 by @valentinDruzhinin . ? Add Vietnamese translation for docs/vi/docs/deployment/versions.md . PR #13406 by @ptt3199 . ? Add Vietnamese translation for docs/vi/do...@yes0ng . ? Add Russian translation for docs/ru/docs/advanced/response-cookies.md . PR #13327 by @Stepakinoyan . ? Add Vietnamese translation for docs/vi/docs/tutorial/static-files.md . PR #11291 by @ptt3199 . ? Add Korean translation for docs/ko/docs.../tutorial/dependencies/dependencies-with-yield.md . PR #13257 by @11kkw . ? Add Vietnamese translation for docs/vi/docs/virtual-environments.md . PR #13282 by @ptt3199 . ? Add Ukrainian translation for docs/uk/do... - https://man.mtool.work/fastapi/0.115/release-notes/
PREV
1
NEXT