- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 266 for valida (0.05 sec)
-
docs/pt/docs/tutorial/body-nested-models.md
``` A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal. ## Atributos como listas de submodelos Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc: ```Python hl_lines="20" {!../../docs_src/body_nested_models/tutorial006.py!} ``` Isso vai esperar(converter, validar, documentar, etc) um corpo JSON tal qual: ```JSON hl_lines="11"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
SimpleProblemCollector result = validate("invalid-coordinate-ids-pom.xml"); assertViolations(result, 0, 2, 0); assertEquals( "'groupId' with value 'o/a/m' does not match a valid coordinate id pattern.", result.getErrors().get(0)); assertEquals( "'artifactId' with value 'm$-do$' does not match a valid coordinate id pattern.",
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.8K bytes - Viewed (0) -
internal/event/target/postgresql.go
} // normalize the name to letters, digits, _ or $ valid := true cleaned := strings.Map(func(r rune) rune { switch { case unicode.IsLetter(r): return 'a' case unicode.IsDigit(r): return '0' case r == '_', r == '$': return r default: valid = false return -1 } }, name) if valid { // check for simple name or quoted name
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")}, { bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"), }, {bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")}, // Test case - 5.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../docs_src/query_params_str_validations/tutorial013.py!} ``` /// note | "Observação" Tenha em mente que neste caso, o FastAPI não irá validar os conteúdos da lista. Por exemplo, um `List[int]` iria validar (e documentar) que os contéudos da lista são números inteiros. Mas apenas `list` não. /// ## Declarando mais metadados Você pode adicionar mais informações sobre o parâmetro.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/postpolicyform.go
if err != nil { return parsedPolicy, err } parsedPolicy.Conditions.ContentLengthRange = contentLengthRange{ Min: min, Max: max, Valid: true, } default: // Condition should be valid. return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt) } default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12.4K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// FastAPI will now: * **Validate** the data making sure that the max length is 50 characters * Show a **clear error** for the client when the data is not valid * **Document** the parameter in the OpenAPI schema *path operation* (so it will show up in the **automatic docs UI**)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25.4K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
cli.cli(maybeColorRequest); cli.properties(maybeColorRequest); assertThrows( IllegalArgumentException.class, () -> cli.logging(maybeColorRequest), "maybe is not a valid option"); } /** * Verifies MNG-6558 */ @Test void testToolchainsBuildingEvents() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0)