Commit graph

39 commits

Author SHA1 Message Date
Yann Hamon
4e83800979 gofmt 2021-09-26 11:58:09 +02:00
Christian Brauchli
dee75355d0 FIX: enable http_proxy environment variable 2021-09-17 09:32:36 +02:00
Yann Hamon
3a697f3ce2 validate against master by default, not 1.18.0 2021-07-11 22:53:23 +02:00
Yann Hamon
b10927a052 Update Readme, add 'default' value for -schema-location parameter 2021-02-27 16:37:24 +01:00
Christoph Mertz
65968cf540 remove gosimple offences 2021-02-19 17:01:54 +01:00
Yann Hamon
128fcf993b fail early when cache folder does not exist 2021-01-02 11:57:52 +01:00
Yann Hamon
18927ddf75 cache schemas downloaded over HTTP 2021-01-01 15:49:18 +01:00
Yann Hamon
1a76217195 fix - do try following schema registries when schema not found in local registry 2020-12-29 19:16:28 +01:00
Yann Hamon
031f83cbde linting 2020-12-15 22:20:02 +01:00
Yann Hamon
43b5c5c152 add tests to DownloadSchema 2020-11-29 16:09:12 +01:00
Yann Hamon
cafdb09f6f comment 2020-11-15 20:25:16 +01:00
Yann Hamon
651d3b2c50 fail early when a broken -schema-location template is given 2020-11-15 20:23:37 +01:00
Yann Hamon
b33767a477 fix acc tests 2020-11-15 16:24:27 +01:00
Yann Hamon
4ae74305d1 Updated names for schema-location vars, added documentation, updated openapi2jsonschema 2020-11-15 16:19:49 +01:00
Yann Hamon
4b16128b75 Add comments to most exported functions/types 2020-11-08 22:35:17 +01:00
Yann Hamon
44710f9053 cache http client in http registry 2020-11-08 16:50:21 +01:00
Yann Hamon
9d7a79b253 renaming 2020-11-08 16:46:01 +01:00
Yann Hamon
49ad2fc375 make http part of registry class 2020-11-08 16:25:45 +01:00
Yann Hamon
45040c3fe2 rename HTTP error 2020-11-08 16:21:48 +01:00
Yann Hamon
ec56304efd add -insecure-skip-tls-verify 2020-11-08 13:06:21 +01:00
Yann Hamon
1bc9283240 refactor 2020-11-01 16:28:32 +01:00
Yann Hamon
b4995aa02c Support for CRDs 2020-10-17 15:35:41 +02:00
Yann Hamon
59c23325d3 replace -schema with -local-registry 2020-06-07 18:59:03 +02:00
Yann Hamon
d9a6468d09 add a few comments on exported vars 2020-06-06 18:42:44 +02:00
Yann Hamon
cdcacb080d more unit tests 2020-06-06 16:32:27 +02:00
Yann Hamon
8fed078b9e support schemas in YAML, added acceptance tests for parsing custom resources 2020-06-05 00:51:35 +02:00
Yann Hamon
f64ecad867 Add comments on some exported resources 2020-06-04 00:51:36 +02:00
Yann Hamon
8fc1df8d8b minor nits 2020-06-01 12:20:15 +02:00
Yann Hamon
c4bd7d0668 some linting simplifications 2020-05-31 19:29:30 +02:00
Yann Hamon
a1c2e9dc68 fix format string 2020-05-31 14:56:10 +02:00
Yann Hamon
b918da9c59 rework caching - less leak of goschema everywhere 2020-05-31 03:12:28 +02:00
Yann Hamon
8eb297d4c4 better logic mgmt in output plugins, go fmt 2020-05-31 02:10:19 +02:00
Yann Hamon
79d8ce3055 forgot to commit files 2020-05-31 01:09:53 +02:00
Yann Hamon
ef44c39ff2 be more explicit about caching of download failures 2020-05-31 01:09:05 +02:00
Yann Hamon
30a6fe69b1 cache Schema unmarshalling, cache schema download failures (WIP) 2020-05-30 21:40:54 +02:00
Yann Hamon
5f3504724f add support for local schemas 2020-05-30 18:28:04 +02:00
Yann Hamon
3c6d3e351c skipKinds + better error logging 2020-05-30 07:02:48 +02:00
Yann Hamon
96e35cb926 try to validate 2020-05-30 03:37:40 +02:00
Yann Hamon
fe33d14dc4 first commit 2020-05-30 02:44:13 +02:00