0

我正在集成链接器,并添加路由配置。我根据 openAPI 文件生成 serviceProfile,如此所述, 我获得了以下规范:


  routes:
  - condition:
      method: POST
      pathRegex: path1
    name: name1
    responseClasses:
    - condition:
        status:
          max: 200
          min: 200
    - condition:
        status:
          max: 403
          min: 403

它在那里添加了这个 responseClasses,它与我的 openapi 文件的可能响应相匹配。我的问题是,如果服务要回答此处不存在的代码(例如 5xx)怎么办。代理会继续转发它,还是会忽略整个响应?

4

0 回答 0