Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 589 for v1 (0.01 seconds)

  1. 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() == snapshot(
            {
                "openapi": "3.1.0",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        /**
         * The MIME type.
         */
        protected String mimeType = "application/json";
    
        /**
         * Constructor.
         */
        public SearchApiManager() {
            setPathPrefix("/api/v1");
        }
    
        /**
         * Registers this API manager.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  3. docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py

    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 252 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        }
    
        // --- No params: URL unchanged test ---
    
        @Test
        public void test_NoParams_UrlUnchanged() throws Exception {
            // ## Arrange ##
            String originalUrl = "http://example.com/api/v1/resource";
            final AtomicReference<URL> capturedUrl = new AtomicReference<>();
            CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, originalUrl, u -> {
                capturedUrl.set(u);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  5. .github/workflows/add-to-project.yml

    on:
      pull_request_target:
      issues:
        types:
          - opened
          - reopened
    
    jobs:
      add-to-project:
        name: Add to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v1.0.2
            with:
              project-url: https://github.com/orgs/fastapi/projects/2
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Aug 13 02:00:25 GMT 2024
    - 368 bytes
    - Click Count (0)
  6. helm/minio/templates/pvc.yaml

    {{- if eq .Values.mode "standalone" }}
    {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
    apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      {{- if .Values.persistence.annotations }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 30 06:59:40 GMT 2023
    - 1014 bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/strict-content-type.md

    ## Пример атаки { #example-attack }
    
    Представьте, что вы сделали способ запускать локального ИИ-агента.
    
    Он предоставляет API по адресу
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    Есть также фронтенд по адресу
    
    ```
    http://localhost:8000
    ```
    
    /// tip | Совет
    
    Обратите внимание, что у обоих один и тот же хост.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  8. lib/fips140/inprocess.txt

    v1.0.0-c2097c7c...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 16 bytes
    - Click Count (0)
  9. docs_src/behind_a_proxy/tutorial002_py310.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(root_path="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 208 bytes
    - Click Count (0)
  10. docs/es/docs/advanced/strict-content-type.md

    ## Ejemplo de ataque { #example-attack }
    
    Imagina que construyes una forma de ejecutar un agente de IA local.
    
    Provee un API en
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    También hay un frontend en
    
    ```
    http://localhost:8000
    ```
    
    /// tip | Consejo
    
    Ten en cuenta que ambos tienen el mismo host.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top