API Gateway missing aws_iam authorizer and cors

Version: serverless@1.75.1
Plugin: serverless-wsgi

When using this configuration, the auth is set to NONE in the template and cors is missing.

functions:
  app:
    handler: wsgi_handler.handler
    events:
      - http: ANY /
        cors: true
        authorizer: aws_iam
      - http: ANY {proxy+}
        cors: true
        authorizer: aws_iam

Template excerpt:

        "ApiGatewayMethodProxyVarAny": {
            "Type": "AWS::ApiGateway::Method",
            "Properties": {
                "HttpMethod": "ANY",
                "RequestParameters": {},
                "ResourceId": {
                    "Ref": "ApiGatewayResourceProxyVar"
                },
                "RestApiId": {
                    "Ref": "ApiGatewayRestApi"
                },
                "ApiKeyRequired": false,
                "AuthorizationType": "NONE",
                "Integration": {
                    "IntegrationHttpMethod": "POST",
                    "Type": "AWS_PROXY",

Bug or am I doing something wrong?

It was an issue with the yaml, this works:

functions:
  app:
    handler: wsgi_handler.handler
    events:
      - http:
          method: any
          path: /
          authorizer: aws_iam
          cors: true
      - http:
          method: any
          path: '{proxy+}'
          authorizer: aws_iam
          cors: true