Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 2,530 for API (0.02 sec)

  1. docs/zh-hant/docs/index.md

    ```
    
    你已經建立了一個具有以下功能的 API:
    
    - 透過路徑 `/` 和 `/items/{item_id}` 接受 HTTP 請求。
    - 以上路經都接受 `GET` 請求(也被稱為 HTTP _方法_)。
    - 路徑 `/items/{item_id}` 有一個 `int` 型別的 `item_id` 參數。
    - 路徑 `/items/{item_id}` 有一個 `str` 型別的查詢參數 `q`。
    
    ### 互動式 API 文件
    
    使用瀏覽器開啟 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild
    
    import org.gradle.api.provider.SetProperty
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.tooling.events.FinishEvent
    import org.gradle.tooling.events.OperationCompletionListener
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 07:01:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/ITBase.java

                    + DEFAULT_TEST_TOKEN_ID
                    + "\"}}\n{\"updatedTime\":1490250145200,\"updatedBy\":\"admin\",\"createdBy\":\"admin\",\"permissions\":[\"Radmin-api\",\"Rguest\"],\"name\":\"Admin API\",\"createdTime\":1490250145200,\"token\":\""
                    + DEFAULT_TEST_TOKEN + "\"}\n").when().post(getEsUrl() + "/_bulk");
            given().contentType("application/json").when().post(getEsUrl() + "/_refresh");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.lang.reflect.InvocationTargetException
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

    import java.util.Collections;
    
    import org.apache.maven.building.Problem;
    import org.apache.maven.building.ProblemCollector;
    import org.apache.maven.building.ProblemCollectorFactory;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ToolchainsBuildingExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testNoProblems() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. README.md

    You will see the automatic interactive API documentation (provided by <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
    
    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
    
    ### Alternative API docs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.cli;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Defines a simple logging interface for Maven CLI operations.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs_src/behind_a_proxy/tutorial002.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(root_path="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 11 21:53:19 UTC 2020
    - 208 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py

    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    This could be useful, for example, to expose the same API under different prefixes, e.g. `/api/v1` and `/api/latest`.
    
    This is an advanced usage that you might not really need, but it's there in case you do.
    
    ## Include an `APIRouter` in another
    
    The same way you can include an `APIRouter` in a `FastAPI` application, you can include an `APIRouter` in another `APIRouter` using:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top