Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,734 for jason (0.29 seconds)

  1. tests/test_tutorial/test_extra_models/test_tutorial003.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "All my friends drive a low rider",
            "type": "car",
        }
    
    
    def test_get_plane(client: TestClient):
        response = client.get("/items/item2")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "Music is my aeroplane, it's my aeroplane",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

        // GET /api/admin/failureurl/logs
        // PUT /api/admin/failureurl/logs
        /**
         * Retrieves failure URL logs with pagination.
         *
         * @param body the search criteria
         * @return JSON response containing the failure URL logs
         */
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

        /**
         * Retrieves crawling info logs with pagination support.
         *
         * @param body the search body containing pagination and filter parameters
         * @return JSON response containing list of crawling info logs
         */
        // GET /api/admin/crawlinginfo/logs
        // PUT /api/admin/crawlinginfo/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        /**
         * Retrieves a list of related query settings.
         *
         * @param body search parameters for filtering and pagination
         * @return JSON response containing related query configurations
         */
        // GET /api/admin/relatedquery/settings
        // PUT /api/admin/relatedquery/settings
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            // Read capabilities declared in capabilities.json
            readCapabilitiesFromJson()
    
            // Prevent Spock from pulling in Groovy and third-party dependencies - see https://github.com/spockframework/spock/issues/899
            applyRule<DependencyRemovalByNameRule>(
                "org.spockframework:spock-core",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. tests/test_default_response_class.py

    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
        assert response.headers["content-type"] == orjson_type
    
    
    def test_app_override():
        with client:
            response = client.get("/override")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Click Count (0)
  7. 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",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/security/simple-oauth2.md

    В следующей главе вы увидите реальную защищённую реализацию с хешированием паролей и токенами <abbr title="JSON Web Tokens – JSON веб-токены">JWT</abbr>.
    
    Но пока давайте сосредоточимся на необходимых нам деталях.
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    
    /// tip | Подсказка
    Согласно спецификации, вы должны возвращать JSON с `access_token` и `token_type`, как в данном примере.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  9. internal/s3select/json/args.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package json
    
    import (
    	"encoding/xml"
    	"fmt"
    	"strings"
    )
    
    const (
    	document = "document"
    	lines    = "lines"
    
    	defaultRecordDelimiter = "\n"
    )
    
    // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
    type ReaderArgs struct {
    	ContentType string `xml:"Type"`
    	unmarshaled bool
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/path-operation-advanced-configuration.md

    Y podrías hacer esto incluso si el tipo de datos en el request no es JSON.
    
    Por ejemplo, en esta aplicación no usamos la funcionalidad integrada de FastAPI para extraer el JSON Schema de los modelos Pydantic ni la validación automática para JSON. De hecho, estamos declarando el tipo de contenido del request como YAML, no JSON:
    
    //// tab | Pydantic v2
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top