Skip to content

bug: Not support updating snis with PATCH #3351

@nanamikon

Description

@nanamikon

Issue description

Fail to update snis using PATCH

Environment

  • apisix version: 2.2
  • OS: ubuntu
  • OpenResty / Nginx version:1.19

Minimal test code / Steps to reproduce the issue

1.intsert ssl with snis
2.patch snis

What's the actual result? (including assertion message & call stack if applicable)

HTTP/1.1 400 Bad Request
Server: openresty
Date: Wed, 20 Jan 2021 01:20:37 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: *
Access-Control-Max-Age: 3600

{"error_msg":"invalid configuration: additional properties forbidden, found 1"}

What's the expected result?

200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions