package com.github.helpermethod.membrane.starter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@EnableMembrane
@SpringBootApplication
public class Application {
    @Bean
    public ProxiesConfiguration proxies() {
        return p ->
            p.serviceProxy(s ->
                s.matches(m -> m.path("/restnames/"))
                 .target(t -> t.host("www.thomas-bayer.com")));
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
@@ -353,19 +353,33 @@
 return p
- -%3E
+roxies -%3E proxies
 %0A       
@@ -383,17 +383,16 @@
         
-p
 .service
@@ -397,20 +397,30 @@
 ceProxy(
-s -%3E
+proxy -%3E proxy
 %0A       
@@ -428,17 +428,16 @@
         
-s
 .matches
@@ -442,13 +442,25 @@
 es(m
- -%3E m
+atcher -%3E matcher
 .pat
@@ -493,17 +493,16 @@
         
- 
 .target(
@@ -502,20 +502,30 @@
 target(t
- -%3E 
+arget -%3E targe
 t.host(%22

Improve example proxy