godaddy/kubernetes-client

Browser compatibility: make swagger-client not dependent on fs

Open

#337 opened on Oct 18, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (206 forks)batch import
help wanted

Repository metrics

Stars
 (954 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

fs is currently called in the swagger client constructor: https://github.com/godaddy/kubernetes-client/blob/master/lib/swagger-client.js#L106

This causes errors in browser and makes it very difficult to construct a browser-friendly swagger client.

Contributor guide