- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for generating (0.6 sec)
-
docs/en/docs/advanced/generate-clients.md
We will probably still want to keep it for OpenAPI in general, as that will ensure that the operation IDs are **unique**. But for the generated client we could **modify** the OpenAPI operation IDs right before generating the clients, just to make those method names nicer and **cleaner**. We could download the OpenAPI JSON to a file `openapi.json` and then we could **remove that prefixed tag** with a script like this: === "Python"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
Taking data from: * The path as parameters. * Headers. * Cookies. * etc. And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically. But there are situations where you might need to access the `Request` object directly. ## Details about the `Request` object
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 29 14:02:58 GMT 2020 - 2.3K bytes - Viewed (0) -
fastapi/utils.py
f"check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic " "field (e.g. Union[Response, dict, None]) you can disable generating the " "response model from the type annotation with the path operation decorator " "parameter response_model=None. Read more: " "https://fastapi.tiangolo.com/tutorial/response-model/"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.8K bytes - Viewed (0) -
requirements.txt
-e .[all] -r requirements-tests.txt -r requirements-docs.txt pre-commit >=2.17.0,<4.0.0 # For generating screenshots
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 23:48:42 GMT 2024 - 128 bytes - Viewed (0) -
docs/en/docs/contributing.md
In fact, those blocks of code are not written inside the Markdown, they are Python files in the `./docs_src/` directory. And those Python files are included/injected in the documentation when generating the site. ### Docs for tests Most of the tests actually run against the example source files in the documentation. This helps to make sure that: * The documentation is up-to-date.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
fastapi/applications.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
docs/en/docs/js/termynal.js
div.innerHTML = `<span ${this._attributes(line)}>${line.value || ''}</span>`; return div.firstElementChild; }); } /** * Helper function for generating attributes string. * * @param {Object} line - Line data object. * @returns {string} - String of attributes. */ _attributes(line) { let attrs = '';
JavaScript - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.3K bytes - Viewed (0) -
docs/en/docs/python-types.md
* **Define requirements**: from request path parameters, query parameters, headers, bodies, dependencies, etc. * **Convert data**: from the request to the required type. * **Validate data**: coming from each request: * Generating **automatic errors** returned to the client when the data is invalid. * **Document** the API using OpenAPI: * which is then used by the automatic interactive documentation user interfaces.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
fastapi/routing.py
""" Customize the function used to generate unique IDs for the *path operations* shown in the generated OpenAPI. This is particularly useful when automatically generating clients or SDKs for your API. Read more about it in the
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0) -
docs/de/docs/project-generation.md
Nils Lindemann <******@****.***> 1711822476 +0100
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:14:36 GMT 2024 - 6.5K bytes - Viewed (0)