Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 2,275 for inf1 (0.09 seconds)

  1. docs/zh/docs/how-to/conditional-openapi.md

    然后在创建 `FastAPI` 应用时使用它。
    
    接着,你可以通过把环境变量 `OPENAPI_URL` 设为空字符串来禁用 OpenAPI(包括文档 UI),例如:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    然后如果你访问 `/openapi.json`、`/docs` 或 `/redoc`,就会得到一个 `404 Not Found` 错误,例如:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

         * Supports filtering and pagination for job execution history.
         *
         * @param body search parameters for filtering and pagination
         * @return JSON response containing job logs list with pagination info
         */
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            String filename = "a\\test\\path.txt";
            int informationLevel = 0x0102;
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
            // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator)
            byte[] dst = new byte[2 + 4 + filename.length() + 1];
    
            // When
            int bytesWritten = trans.writeParametersWireFormat(dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                throws RepositoryMetadataResolutionException {
            RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact);
    
            getLogger().info("Retrieving previous build number from " + remoteRepository.getId());
            repositoryMetadataManager.resolveAlways(metadata, localRepository, remoteRepository);
    
            int buildNumber = 0;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/dataclasses.md

    - валидация данных
    - сериализация данных
    - документирование данных и т.д.
    
    Это работает так же, как с Pydantic-моделями. И на самом деле под капотом это достигается тем же образом, с использованием Pydantic.
    
    /// info | Информация
    
    Помните, что dataclasses не умеют всего того, что умеют Pydantic-модели.
    
    Поэтому вам всё ещё может потребоваться использовать Pydantic-модели.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/response-status-code.md

    Зверніть увагу, що `status_code` є параметром методу «декоратора» (`get`, `post`, тощо). Не вашої *функції операції шляху*, як усі параметри та тіло.
    
    ///
    
    Параметр `status_code` приймає число з HTTP кодом статусу.
    
    /// info | Інформація
    
    `status_code` також може, як альтернативу, приймати `IntEnum`, наприклад, Python [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    Він буде:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. tests/test_annotated.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/default": {
                        "get": {
                            "summary": "Default",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

    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"},
                "paths": {
                    "/login": {
                        "post": {
                            "responses": {
                                "200": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. internal/logger/audit.go

    	"github.com/minio/minio/internal/mcontext"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const contextAuditKey = contextKeyType("audit-entry")
    
    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    		LogIf(context.Background(), "audit", fmt.Errorf("context is nil"))
    		return nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/cookie-param-models.md

    Vous pouvez voir les cookies définis dans l'interface de la documentation à `/docs` :
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    Gardez à l'esprit que, comme les **navigateurs gèrent les cookies** de manière particulière et en arrière-plan, ils **n'autorisent pas** facilement **JavaScript** à y accéder.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top