aws-cloudformation / cloudformation-resource-schema

The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Apache License 2.0
90 stars 38 forks source link

Make ctor Validator(SchemaClient downloader) public #78

Closed vladtsir closed 4 years ago

vladtsir commented 4 years ago

Description of changes:

I have a use case where a consumer of this package would like to run schema validation tests without opening an internet connection. Making Validator(SchemaClient downloader) public enables this use case - I can inject a mock SchemaClient and avoid mocking an entire HTTP server

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.