Explorar el Código

Add function invocation to method example

bubble
shockey hace 7 años
committed by GitHub
padre
commit
5f8ffb870c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      swagger-ui-dist-package/README.md

+ 1
- 1
swagger-ui-dist-package/README.md Ver fichero

@@ -14,7 +14,7 @@ Use `swagger-ui` instead, if you'd like to have npm install dependencies for you
To get an absolute path to this directory for static file serving, use the exported `getAbsoluteFSPath` method:

```javascript
const swaggerUiAssetPath = require("swagger-ui-dist").getAbsoluteFSPath
const swaggerUiAssetPath = require("swagger-ui-dist").getAbsoluteFSPath()

// then instantiate server that serves files from the swaggerUiAssetPath
```


Cargando…
Cancelar
Guardar