Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 611 for Schemas (0.08 seconds)

  1. tests/test_request_params/test_body/test_list.py

    )
    def test_required_list_str_schema(path: str):
        openapi = app.openapi()
        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "items": {"type": "string"},
                    "title": "P",
                    "type": "array",
                },
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. tests/test_request_params/test_body/test_optional_str.py

        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        openapi = app.openapi()
        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    ///
    
    ### JSON Schema's `examples` field { #json-schemas-examples-field }
    
    But then JSON Schema added an [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) field to a new version of the specification.
    
    And then the new OpenAPI 3.1.0 was based on the latest version (JSON Schema 2020-12) that included this new field `examples`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. 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)
  5. src/main/config/openapi/openapi-user.yaml

            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        Unauthorized:
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        NotFound:
          description: Page not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/vibe.md

    {* ../../docs_src/vibe/tutorial001_py310.py hl[8:12] *}
    
    ## Benefits { #benefits }
    
    By using `@app.vibe()`, you get to enjoy:
    
    * **Freedom**: No data validation. No schemas. No constraints. Just vibes. ✨
    * **Flexibility**: The request can be anything. The response can be anything. Who needs types anyway?
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/generate-clients.md

    ### API Docs { #api-docs }
    
    If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    You can see those schemas because they were declared with the models in the app.
    
    That information is available in the app's **OpenAPI schema**, and then shown in the API docs.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  8. docs/ja/docs/tutorial/schema-extra-example.md

    この古いOpenAPI固有の`examples`パラメータは、FastAPI `0.103.0`以降は`openapi_examples`になりました。
    
    ///
    
    ### JSON Schemaの`examples`フィールド { #json-schemas-examples-field }
    
    しかしその後、JSON Schemaは新しいバージョンの仕様に[`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5)フィールドを追加しました。
    
    そして、新しいOpenAPI 3.1.0は、この新しいフィールド`examples`を含む最新バージョン(JSON Schema 2020-12)に基づくようになりました。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

     *
     * <p>This class is commonly used to pass configuration parameters to data store
     * implementations during crawling operations, allowing for flexible parameter
     * handling without tight coupling to specific parameter schemas.</p>
     */
    public class DataStoreParams {
    
        /**
         * Internal map storing parameter key-value pairs.
         * Uses ParamMap for automatic case format conversion between camelCase and snake_case.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/first-steps.md

    Esta definição de *schema* inclui os paths da sua API, os parâmetros possíveis que eles usam, etc.
    
    #### "*Schema*" de dados { #data-schema }
    
    O termo "*schema*" também pode se referir à forma de alguns dados, como um conteúdo JSON.
    
    Nesse caso, significaria os atributos JSON e os tipos de dados que eles possuem, etc.
    
    #### OpenAPI e JSON Schema { #openapi-and-json-schema }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top