ePages-de / ePages-de/restdocs-api-spec

Connection refused with Spring Boot Starter Webflux

Open
#274 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
427
Forks
116
Avg merge
23h 54m
Merged PRs (30d)
1

Description

For my tests I use `com.epages:restdocs-api-spec-restassured` and my application is developed with `spring-boot-starter-webflux` unfortunately `restdocs-api-spec` contains `spring-boot-starter-web` and it makes the tests fails with a connection refused so my test is not working.

For my use case I use the maven plugin

```
io.github.berkleytechnologyservices
restdocs-spec-maven-plugin
```
And the latest version (0.19.4).

So to make it work I exclude `spring-boot-starter-web` from restdocs-api-spec with the following code :

```

com.epages
restdocs-api-spec
${restdocs-api-spec.version}
test


org.springframework.boot
spring-boot-starter-web



```

The code doesn't need to include the spring-boot-starter-web it can just use spring framework dependencies spring-web and spring-context.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.