Skip to content

Commit 6c412c4

Browse files
authored
Update README.md
1 parent d3b1073 commit 6c412c4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,3 @@ dependencies {
6969
...
7070
}
7171
```
72-
73-
## Expose the OpenAPI.json and swager-ui
74-
75-
```kotlin
76-
application.routing {
77-
get("/openapi.json") {
78-
call.respond(application.openAPIGen.api.serialize())
79-
}
80-
get("/") {
81-
call.respondRedirect("/swagger-ui/index.html?url=/openapi.json", true)
82-
}
83-
}
84-
```

0 commit comments

Comments
 (0)