Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,653 for ujson (0.02 sec)

  1. tests/test_openapi_model_description_trim_on_formfeed.py

    
    @app.get("/foo")
    def foo(v: MyModel):  # pragma: no cover
        pass
    
    
    client = TestClient(app)
    
    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        openapi_schema = response.json()
    
        assert openapi_schema["components"]["schemas"]["MyModel"]["description"] == (
            "A model with a form feed character in the title.\n"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 07:46:27 UTC 2025
    - 660 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

    import com.google.api.client.http.HttpTransport;
    import com.google.api.client.http.javanet.NetHttpTransport;
    import com.google.api.client.json.JsonFactory;
    import com.google.api.client.json.JsonParser;
    import com.google.api.client.json.JsonToken;
    import com.google.api.client.json.gson.GsonFactory;
    import com.google.common.io.BaseEncoding;
    import com.google.common.io.BaseEncoding.DecodingException;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/conditional-openapi.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Wenn Sie dann zu den URLs unter `/openapi.json`, `/docs` oder `/redoc` gehen, erhalten Sie lediglich einen `404 Not Found`-Fehler, wie:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. tests/test_additional_responses_bad.py

                            "content": {"application/json": {"schema": {}}},
                        },
                    },
                    "summary": "A",
                    "operationId": "a_a_get",
                }
            }
        },
    }
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        with pytest.raises(ValueError):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        /** The suggest helper for managing suggest functionality. */
        @Resource
        protected SuggestHelper suggestHelper;
    
        /**
         * Retrieves suggest statistics including word counts.
         *
         * @return JSON response containing suggest statistics
         */
        // GET /api/admin/suggest
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final SuggestBody body = new SuggestBody();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py

    
    def test_get():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo"}]
    
    
    def test_openapi_schema():
        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
    - 1K bytes
    - Viewed (0)
  7. helm/minio/templates/configmap.yaml

      {{- range $idx, $policy := .Values.policies }}
      # Policy: {{ $policy.name }}
      policy_{{ $idx }}.json: |-
        {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }}
      {{ end }}
      {{- range $idx, $svc := .Values.svcaccts }}
      {{- if $svc.policy }}
      # SVC: {{ $svc.accessKey }}
      svc_policy_{{ $idx }}.json: |-
        {{- include (print $.Template.BasePath "/_helper_policy.tpl") .policy | nindent 4 }}
      {{- end }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

        /**
         * Returns list of group settings.
         * Supports both GET and PUT requests for retrieving paginated group configurations.
         *
         * @param body search parameters for filtering and pagination
         * @return JSON response containing group settings list with pagination info
         */
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        /**
         * Retrieves boost document rule settings with pagination support.
         *
         * @param body the search body containing pagination and filter parameters
         * @return JSON response containing list of boost document rule configurations
         */
        // GET /api/admin/boostdoc
        // PUT /api/admin/boostdoc
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial002.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "testtokenfakedecoded",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top