Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 2,037 for inf1 (0.04 seconds)

  1. tests/test_tutorial/test_path_params/test_tutorial001.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "operationId": "read_item_items__item_id__get",
                        "parameters": [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. .gitignore

    /test/times.out
    
    # This file includes artifacts of Go build that should not be checked in.
    # For files created by specific development environment (e.g. editor),
    # use alternative ways to exclude files from git.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Nov 10 20:41:03 GMT 2025
    - 975 bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/schema-extra-example.md

    Ви можете використати ту ж техніку, щоб розширити JSON-схему і додати власну додаткову інформацію.
    
    Наприклад, Ви можете використати її для додавання метаданих для інтерфейсу користувача на фронтенді тощо.
    
    ///
    
    /// info | Інформація
    
    OpenAPI 3.1.0 (який використовується починаючи з FastAPI 0.99.0) додав підтримку `examples`, що є частиною стандарту **JSON-схеми**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Jun 09 19:35:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

    import java.util.Properties;
    
    import org.apache.maven.impl.util.Os;
    import org.apache.maven.jline.MessageUtils;
    import org.slf4j.Logger;
    
    /**
     * Utility class used to report errors, statistics, application version info, etc.
     *
     */
    public final class CLIReportingUtils {
        // CHECKSTYLE_OFF: MagicNumber
        public static final long MB = 1024 * 1024;
    
        private static final long ONE_SECOND = 1000L;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/body-updates.md

    Если необходимо выполнить частичное обновление, то очень полезно использовать параметр `exclude_unset` в методе `.model_dump()` модели Pydantic.
    
    Например, `item.model_dump(exclude_unset=True)`.
    
    /// info | Информация
    
    В Pydantic v1 метод назывался `.dict()`, в Pydantic v2 он помечен как устаревший (но все еще поддерживается) и переименован в `.model_dump()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. tests/test_openapi_route_extensions.py

    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "get": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.1K bytes
    - Click Count (0)
  7. docs_src/extending_openapi/tutorial001_py39.py

            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
            description="Here's a longer description of the custom **OpenAPI** schema",
            routes=app.routes,
        )
        openapi_schema["info"]["x-logo"] = {
            "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png"
        }
        app.openapi_schema = openapi_schema
        return app.openapi_schema
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 737 bytes
    - Click Count (0)
  8. module-tests/build.gradle.kts

    plugins {
      id("java")
      id("application")
      id("com.github.iherasymenko.jlink") version "0.7"
      id("org.gradlex.extra-java-module-info") version "1.13.1"
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.loggingInterceptor)
    
      testImplementation(projects.okhttp)
      testImplementation(projects.loggingInterceptor)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:45:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/cookie-params.md

    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | 技术细节
    
    `Cookie` 、`Path` 、`Query` 是**兄弟类**,都继承自共用的 `Param` 类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path`、`Cookie` 等对象,实际上是返回特殊类的函数。
    
    ///
    
    /// info | 说明
    
    必须使用 `Cookie` 声明 cookie 参数,否则该参数会被解释为查询参数。
    
    ///
    
    ## 小结
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 888 bytes
    - Click Count (0)
  10. tests/test_tutorial/test_metadata/test_tutorial001_1.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "ChimichangApp",
                "summary": "Deadpool's favorite app. Nuff said.",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top