- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,205 for Scan (0.05 sec)
-
docs/en/docs/tutorial/path-operation-configuration.md
There are several parameters that you can pass to your *path operation decorator* to configure it. /// warning Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*. /// ## Response Status Code You can define the (HTTP) `status_code` to be used in the response of your *path operation*. You can pass directly the `int` code, like `404`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
You can probably skip this part. /// There's an alternative way to define this logic to be executed during *startup* and during *shutdown*. You can define event handlers (functions) that need to be executed before the application starts up, or when the application is shutting down. These functions can be declared with `async def` or normal `def`. ### `startup` event
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:36:22 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// This will let **FastAPI** know that this parameter is required. ### Required, can be `None` You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`. To do that, you can declare that `None` is a valid type but still use `...` as the default: //// tab | Python 3.10+ ```Python hl_lines="9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25.4K bytes - Viewed (0) -
docs/en/docs/help-fastapi.md
* Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that. * Then also comment what you tried, that way I'll know that you checked it. 🤓 ## Create a Pull Request
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 23:30:12 UTC 2024 - 13.7K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
/// This is of course not the frontend for the final users, but it's a great automatic tool to document interactively all your API. It can be used by the frontend team (that can also be yourself). It can be used by third party applications and systems. And it can also be used by yourself, to debug, check and test the same application. ## The `password` flow
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
} } } } ``` ## Additional media types for the main response You can use this same `responses` parameter to add different media types for the same main response. For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:07:07 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
#### Install `openapi-ts` You can install `openapi-ts` in your frontend code with: <div class="termy"> ```console $ npm install @hey-api/openapi-ts --save-dev ---> 100% ``` </div> #### Generate Client Code To generate the client code you can use the command line application `openapi-ts` that would now be installed.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
### Include the custom docs Now you can create the *path operations* for the custom docs. You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments: * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`. * `title`: the title of your API.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
{!../../docs_src/bigger_applications/app/routers/users.py!} ``` You can think of `APIRouter` as a "mini `FastAPI`" class. All the same options are supported. All the same `parameters`, `responses`, `dependencies`, `tags`, etc. /// tip In this example, the variable is called `router`, but you can name it however you want. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
* OS family that can be tested for. {@value} */ private static final String FAMILY_OS2 = "os/2"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_NETWARE = "netware"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_DOS = "dos"; /** * OS family that can be tested for. {@value} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0)