Skip to content

Commit a98414b

Browse files
oozmduesterhoeft
authored andcommitted
Choose more descriptive Postman response name (#107)
1 parent eaabdd0 commit a98414b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restdocs-api-spec-postman-generator/src/main/kotlin/com/epages/restdocs/apispec/postman/PostmanCollectionGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ object PostmanCollectionGenerator {
4949
response = modelsWithSamePathAndMethod.map {
5050
Response().apply {
5151
id = it.operationId
52-
name = "${it.response.status}-${it.response.contentType}"
52+
name = it.operationId
5353
originalRequest = toRequest(listOf(it), url)
5454
code = it.response.status
5555
body = it.response.example

0 commit comments

Comments
 (0)