Skip to content

Commit 3c60534

Browse files
committed
added install instructions
1 parent bb7b6d5 commit 3c60534

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,28 @@ Currently Supported:
1717

1818
It is inspired by ktor Locations, but makes no use of it.
1919

20+
## Installation
21+
22+
Install the submodule:
23+
```
24+
git submodule add https://github.com/papsign/Ktor-OpenAPI-Generator.git openapigen
25+
```
26+
27+
Declare the folder in settings.gradle:
28+
```
29+
...
30+
include 'openapigen'
31+
```
32+
Declare the dependency in the main build.gradle
33+
```
34+
dependencies {
35+
compile project(":openapigen")
36+
...
37+
}
38+
```
39+
40+
## Examples
41+
2042
Basic Example:
2143

2244
```kotlin

0 commit comments

Comments
 (0)