Closed squaremo closed 4 years ago
There is this file: https://github.com/jkcfg/kubernetes-schema/blob/master/v1.16.0-local/customresourcedefinition-apiextensions-v1beta1.json
Perhaps these get treated differently, either how the files are named, or how the filename is constructed.
Here is the code that decides the name of the file: https://github.com/instrumenta/openapi2jsonschema/blob/master/openapi2jsonschema/command.py#L129
L132 splits the API group into 3 and picks the first item. Keeping in mind I may want to use the same tooling to generate other schemas, the more effective thing to do may be to simply reproduce this logic in the schema picker.