Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get pascalcased kind for a schema #270

Open
slarwise opened this issue Feb 10, 2024 · 0 comments
Open

Get pascalcased kind for a schema #270

slarwise opened this issue Feb 10, 2024 · 0 comments

Comments

@slarwise
Copy link

Hi!

Thanks for an awesome project, extremely useful. For a schema, is it possible to get the kind in its pascalcased version? E.g. for monitoring.coreos.com/servicemonitor_v1.json it would be ServiceMonitor.

I'm writing a language server for yaml, and it would be useful to be able to suggest the kind based on the apiVersion. I can only figure out how to get the lowercased kind based on rhe file structure of this repo. Perhaps this is what the index file will be for? Happy to help out with populating that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant