Skip to content

建议允许使用 methods: * 的方式启用 HTTP 触发器的全部请求方式 #993

Description

@DevDengChao

现在定义一个支持全部 HTTP 请求方式的 HTTP 触发器需要写很多东西:

      triggers:
        - name: http
          type: http
          config:
            authType: anonymous
            methods:
              - GET
              - HEAD
              - POST
              - DELETE
              - PUT
              - PATCH
              - OPTIONS

如果能用 * 来代替这些方法就好了:

      triggers:
        - name: http
          type: http
          config:
            authType: anonymous
            methods: *

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