github.com/avenga/couper@v1.12.2/server/testdata/endpoints/02_couper.hcl (about)

     1  server "api" {
     2    error_file = "./../integration/server_error.html"
     3  
     4    api {
     5      base_path = "/v1"
     6  
     7      error_file = "./../integration/api_error.json"
     8  
     9      endpoint "/" {
    10        response {
    11          status = 200
    12          body = "string"
    13        }
    14      }
    15    }
    16  }