Skip to content

Commit e27ab05

Browse files
committed
Update readme and sample to 0.8.0
1 parent 672460d commit e27ab05

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ buildscript {
8989
}
9090
dependencies {
9191
//..
92-
classpath("com.epages:restdocs-api-spec-gradle-plugin:0.7.1") //2
92+
classpath("com.epages:restdocs-api-spec-gradle-plugin:0.8.0") //2
9393
}
9494
}
9595
//..
@@ -103,7 +103,7 @@ repositories { //4
103103
104104
dependencies {
105105
//..
106-
testCompile('com.epages:restdocs-api-spec-mockmvc:0.7.1') //5
106+
testCompile('com.epages:restdocs-api-spec-mockmvc:0.8.0') //5
107107
}
108108
109109
openapi { //6
@@ -124,6 +124,12 @@ openapi3 {
124124
version = '0.1.0'
125125
format = 'yaml'
126126
}
127+
128+
postman {
129+
title = 'My API'
130+
version = '0.1.0'
131+
baseUrl = 'https://localhost:8080'
132+
}
127133
```
128134

129135
1. add `jcenter` and [jitpack](https://jitpack.io) repositories to `buildscript`. The first is used to resolve the `restdocs-api-spec-gradle-plugin`, the latter is needed for a dependency of the project.

samples/restdocs-api-spec-sample/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
}
1111
dependencies {
1212
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
13-
classpath("com.epages:restdocs-api-spec-gradle-plugin:0.7.1")
13+
classpath("com.epages:restdocs-api-spec-gradle-plugin:0.8.0")
1414
}
1515
}
1616

@@ -39,7 +39,7 @@ dependencies {
3939
testCompile('org.springframework.boot:spring-boot-starter-test')
4040
testCompile('org.springframework.restdocs:spring-restdocs-mockmvc')
4141

42-
testCompile('com.epages:restdocs-api-spec-mockmvc:0.7.1')
42+
testCompile('com.epages:restdocs-api-spec-mockmvc:0.8.0')
4343
// testCompile project(':restdocs-api-spec-mockmvc') //enable for depending on the submodule directly
4444
testCompile('com.google.guava:guava:23.0')
4545
}
@@ -65,3 +65,9 @@ openapi3 {
6565
format = 'yaml'
6666
tagDescriptionsPropertiesFile = "src/test/resources/tags.yaml"
6767
}
68+
69+
postman {
70+
title = 'My API'
71+
version = '0.1.0'
72+
baseUrl = 'https://localhost:8080'
73+
}

0 commit comments

Comments
 (0)