Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,408 for ison (0.02 seconds)

  1. fastapi/param_functions.py

        json_schema_extra: Annotated[
            dict[str, Any] | None,
            Doc(
                """
                Any additional JSON schema data.
                """
            ),
        ] = None,
        **extra: Annotated[
            Any,
            Doc(
                """
                Include extra fields used by the JSON Schema.
                """
            ),
            deprecated(
                """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  2. tests/test_custom_schema_fields.py

    
    def test_custom_response_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json()["components"]["schemas"]["Item"] == item_schema
    
    
    def test_response():
        # For coverage
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  3. tests/test_openapi_servers.py

    
    def test_app():
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "servers": [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/security/simple-oauth2.md

    Aber konzentrieren wir uns zunächst auf die spezifischen Details, die wir benötigen.
    
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    
    /// tip | Tipp
    
    Gemäß der Spezifikation sollten Sie ein JSON mit einem `access_token` und einem `token_type` zurückgeben, genau wie in diesem Beispiel.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/security/simple-oauth2.md

    Pero por ahora, enfoquémonos en los detalles específicos que necesitamos.
    
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    
    /// tip | Consejo
    
    De acuerdo con la especificación, deberías devolver un JSON con un `access_token` y un `token_type`, igual que en este ejemplo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.2K 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Click Count (0)
  7. docs/uk/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>
    
    Потім, якщо ви перейдете за URL `/openapi.json`, `/docs` або `/redoc`, ви просто отримаєте помилку `404 Not Found` на кшталт:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            final FessConfig fessConfig = createFessConfigWithResponseHeaders("*=X-Def:def\napplication/json=X-Json:jsonval");
            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("application/json", (k, v) -> headerMap.put(k, v));
            assertEquals(2, headerMap.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/body-multiple-params.md

    ///
    
    ## Несколько параметров тела запроса { #multiple-body-parameters }
    
    В предыдущем примере, *операции пути* ожидали тело запроса в формате JSON, с параметрами, соответствующими атрибутам `Item`, например:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 8.2K bytes
    - Click Count (0)
Back to Top