dotnet / dotnet/dotnet-operator-sdk

[feature]: JsonSchema.Net.Generation for openapi schema generation?

Open
#748 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
371
Forks
89
Avg merge
9h 39m
Merged PRs (30d)
26

Description

### Is your feature request related to a problem? Please describe.

Currently, the schema generation is limited to what is implemented,

Issues like https://github.com/buehler/dotnet-operator-sdk/issues/741, https://github.com/buehler/dotnet-operator-sdk/issues/396, https://github.com/buehler/dotnet-operator-sdk/issues/351 could possibly benefit from this

### Describe the solution you would like

It would be nice to team up with a schema generator library and outsource those capabilities to generate the OpenApiV3 spec.

**JsonSchema.Net** offers JsonSchema with customizable keywords and validation on JsonNodes.
**JsonSchema.Net.Generation** can generate schemas from C# classes with reflection (for use in KubeOps.Cli?)

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.