apigee-127 / sway

A library that simplifies OpenAPI (fka Swagger) integrations/tooling.
MIT License
190 stars 92 forks source link

Consider dropping `getSample` in 3.0 #219

Open wickedest opened 4 years ago

wickedest commented 4 years ago

I was investigating why sway is 10.4 MB. A good chunk of that size is related to json-schema-faker and its dependencies (4.2 MB). Digging into the code, it only seems to be used by getSample. Is this feature really necessary? I mean, getExample can provide much better samples.

whitlockjc commented 4 years ago

The current refactoring to support 3.x will not have json-schema-faker, it's too bulky and not as easy to slim down as we need.