Skip to content

Support Request Validation API Gateway Feature #243

Open
@alp-garcia

Description

@alp-garcia

This is a Feature Proposal

Description

The API Gateway Request Validation is now supported by Serverless framework:

functions:
  create-something:
    handler: functions/create-something.handler
    events:
      - http:
          path: ${self:custom.version}/things
          method: post
          request:
            schema:
              application/json: ${file(thing.schema.json)}

However, seems the plugin does not support when trying to add the same configuration inside of an event:

stepFunctions:
  stateMachines:
    create-things:
      events:
        - http:
            path: ${self:custom.version}/things
            method: post
            request:
              schema:
                application/json: ${file(thing.schema.json)}

Additional Data

  • Serverless Framework Core Version you're using: latest
  • The Plugin Version you're using: latest
  • Operating System: N/A
  • Stack Trace: N/A
  • Provider Error messages: N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions