Eyar Zilberman
|
b5f34caa70
|
add constructor to handle equal sign (=) (#104)
Equal sign (=) was not parsed properly by pyyaml.
Added constructor to parse equal sign as string.
Related issue: https://github.com/yannh/kubeconform/issues/103
|
2022-04-06 09:12:48 +02:00 |
|
Maxime Brunet
|
67a73a9315
|
scripts: Optionally disallow additionalProperties at the root
|
2021-12-11 11:40:06 -08:00 |
|
Patrick Ruckstuhl
|
a30381c6aa
|
Add missing import urllib.request
|
2021-09-26 23:00:44 +02:00 |
|
Yann Hamon
|
19be42b9a6
|
simple openapi2jsonschema tests
|
2021-09-26 17:02:34 +02:00 |
|
Yann Hamon
|
dcc77ac3a3
|
Merge pull request #72 from tarioch/feature/handle_items_in_openapi2jsonschema
Also support items elements in yaml
|
2021-09-26 14:07:52 +02:00 |
|
Patrick Ruckstuhl
|
9228dba915
|
Also support items elements in yaml, e.g. for kubectl get crds -o yaml
|
2021-09-25 01:09:08 +02:00 |
|
Maxime Brunet
|
c489a69a4c
|
scripts: Check versions before version
CRD versions can have multiple schemas, but they can also share the
same.
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#specify-multiple-versions
|
2021-07-12 17:23:42 -07:00 |
|
David Holsgrove
|
d94454920b
|
Skip empty yaml docs - for yaml files with a structure like
```
# comment
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
```
|
2021-05-24 16:05:19 +10:00 |
|
Maxime Brunet
|
5ad6b481be
|
scripts: Pretty print JSON schemas
|
2021-01-04 11:28:45 -08:00 |
|
Yann Hamon
|
e9206c347e
|
Merge pull request #23 from PaytmLabs/hotfix/scripts/multi-version-schema
scripts: Fix creation of schema from multi-version CRD
|
2021-01-02 12:13:38 +01:00 |
|
Maxime Brunet
|
87183acf5f
|
scripts: Fix creation of schema from multi-version CRD
|
2020-12-29 12:10:11 -08:00 |
|
Maxime Brunet
|
dd5db71b1a
|
scripts: Support for alternative filename format
|
2020-12-29 09:49:20 -08:00 |
|
Yann Hamon
|
f6e6f7584c
|
support for multi-document yaml in openapi2jsonschema
|
2020-12-28 11:08:05 +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
|
81e57782f4
|
migrate openapi2jsonschema to scripts/
|
2020-11-01 22:02:03 +01:00 |
|