Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

nelmio-api-doc/swagger-ui how overwrite displayRequestDuration

$
0
0

The Problem is easy to describe, i want to show the request duration on the swagger-ui from the nelmio\api-doc-bundle.

In the documentation from https://api-platform.com/ i cant find something about this topic.

The Documentation of Swagger-ui it self says it work by set the js variable "displayRequestDuration" on true->https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/

when i overwrite the hole swagger.ui.js then its not more update safe. When i overwrite the generatet file in public folder, then its still overwriting, after a change. When i try to set it in "nelmio_api_doc.yaml" nothing happens

nelmio_api_doc:
    documentation:
        displayRequestDuration: true

Someone a hint or knows why how i can make display that request duration?


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>