ErikWittern / openapi-snippet

Generates code snippets for given Swagger / Open API documents
MIT License
116 stars 67 forks source link

Can we make the default protocol https not http? #43

Open macdonst opened 4 years ago

macdonst commented 4 years ago

If not protocol is specified in server or schemes the default is http. I think it makes more sense to make it https. If that makes sense I can send a PR for the one character fix.

https://github.com/ErikWittern/openapi-snippet/blob/master/openapi-to-har.js#L113