- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 837 for Schema (0.04 seconds)
-
docs/pt/docs/advanced/path-operation-advanced-configuration.md
//// /// info | Informação Na versão 1 do Pydantic, o método para obter o JSON Schema de um modelo é `Item.schema()`, na versão 2 do Pydantic, o método é `Item.model_json_schema()`. /// Entretanto, mesmo que não utilizemos a funcionalidade integrada por padrão, ainda estamos usando um modelo Pydantic para gerar um JSON Schema manualmente para os dados que queremos receber no formato YAML.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.7K bytes - Click Count (0) -
tests/test_security_http_base.py
from fastapi.testclient import TestClient app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.8K bytes - Click Count (0) -
utils/tests/dummy_dialecter.go
package tests import ( "gorm.io/gorm" "gorm.io/gorm/callbacks" "gorm.io/gorm/clause" "gorm.io/gorm/logger" "gorm.io/gorm/schema" ) type DummyDialector struct { TranslatedErr error } func (DummyDialector) Name() string { return "dummy" } func (DummyDialector) Initialize(db *gorm.DB) error { callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Mar 06 06:03:31 GMT 2023 - 2.2K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image01.py
page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png" ) # --------------------- context.close() browser.close() process = subprocess.Popen(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 974 bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
"get": { "responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, "summary": "Read Current User", "operationId": "read_current_user_users_me_get",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
return root.removeNode(modelVersionElement); } return false; } /** * Gets the schema location for a model version. * * @param modelVersion the model version * @return the schema location */ public static String getSchemaLocationForModelVersion(String modelVersion) { if (MODEL_VERSION_4_2_0.equals(modelVersion)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
@DisplayName("should handle unknown model version in schema location") void shouldHandleUnknownModelVersionInSchemaLocation() { String schemaLocation = ModelVersionUtils.getSchemaLocationForModelVersion("5.0.0"); assertNotNull(schemaLocation); // Should return 4.2.0 schema for newer versions // The method returns the 4.2.0 schema location for versions newer than 4.1.0 assertTrue(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
tests/test_tutorial/test_metadata/test_tutorial003.py
"responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, } } }, } def test_swagger_ui_default_url(): response = client.get("/docs")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.5K bytes - Click Count (0) -
tests/test_schema_compat_pydantic_v2.py
"schema": {"$ref": "#/components/schemas/User"} } }, } }, } } }, "components": { "schemas": { "PlatformRole": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_tutorial/test_response_directly/test_tutorial002.py
"responses": { "200": { "content": { "application/json": { "schema": {}, }, }, "description": "Successful Response", }, },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.7K bytes - Click Count (0)