1.0.1 • Published 3 years ago

serverless-openapi-to-json-schema v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Serverlerss OpenApi to Json Schema

This is a plugin meant to tackle the limitation AWS has when using schemas for body validation. It will resolve json Refs and strip the schema from unsupported tags like example, nullabble, etc.

To use it, just add your schema path to a function event under the schemaPath property.

functions:
  sampleFunction:
    events:
      - http:
          schemaPath: path/to/schema/sample-file.yaml