Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,811 for pathOf (0.38 sec)

  1. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 580 bytes
    - Viewed (0)
  2. tests/test_schema_compat_pydantic_v2.py

        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users": {
                        "get": {
                            "summary": "Get User",
                            "operationId": "get_user_users_get",
                            "responses": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

    def get_parameterless_sub_dependant(*, depends: params.Depends, path: str) -> Dependant:
        assert callable(depends.dependency), (
            "A parameter-less dependency must have a callable dependency"
        )
        own_oauth_scopes: list[str] = []
        if isinstance(depends, params.Security) and depends.scopes:
            own_oauth_scopes.extend(depends.scopes)
        return get_dependant(
            path=path,
            call=depends.dependency,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  4. tests/test_tutorial/test_middleware/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "FastAPI",
                "version": "0.1.0",
            },
            "paths": {},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 604 bytes
    - Viewed (0)
  5. docs/ja/docs/advanced/additional-status-codes.md

    # 追加のステータスコード
    
    デフォルトでは、 **FastAPI** は `JSONResponse` を使ってレスポンスを返します。その `JSONResponse` の中には、 *path operation* が返した内容が入ります。
    
    それは、デフォルトのステータスコードか、 *path operation* でセットしたものを利用します。
    
    ## 追加のステータスコード
    
    メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。
    
    例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。
    
    しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/templates.md

    You can also use `url_for()` inside of the template, it takes as arguments the same arguments that would be used by your *path operation function*.
    
    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...will generate a link to the same URL that would be handled by the *path operation function* `read_item(id=id)`.
    
    For example, with an ID of `42`, this would render:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. cmd/utils.go

    	path = strings.TrimPrefix(path, SlashSeparator)
    	m := strings.Index(path, SlashSeparator)
    	if m < 0 {
    		return path, ""
    	}
    	return path[:m], path[m+len(SlashSeparator):]
    }
    
    func path2BucketObject(s string) (bucket, prefix string) {
    	return path2BucketObjectWithBasePath("", s)
    }
    
    // cloneMSS will clone a map[string]string.
    // If input is nil an empty map is returned, not nil.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess.in.bat

    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.context.path=/
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.port=8080
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.webapp.path=%FESS_HOME%\app
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.temp.path=%FESS_HOME%\temp
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.log.name=%APP_NAME%
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.log.path=%FESS_HOME%\logs
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. scripts/mkdocs_hooks.py

        item_path = Path(config.docs_dir) / item
        if not item_path.is_file():
            en_src_dir = (Path(config.docs_dir) / "../../en/docs").resolve()
            potential_path = en_src_dir / item
            if potential_path.is_file():
                files.append(
                    EnFile(
                        path=item,
                        src_dir=str(en_src_dir),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.net.URI;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.apache.maven.building.FileSource;
    
    /**
     * Wraps an ordinary {@link File} as a model source.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top