config: generate model code from json schema by codeboten · Pull Request #4879 · open-telemetry/opentelemetry-python
Proposing that the first step towards implementing OpenTelemetry Configuration is to produce the model code from the json schema. I did a quick search for tools available to do this and came across datamodel-codegen which seems to do what i expected. Will open following pull requests (in draft) to use this model code, i just want to keep these as clearly separated as possible to make reviewing them easier. Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
This was referenced
Feb 6, 2026xrmx approved these changes Mar 2, 2026
xrmx
enabled auto-merge (squash)
MikeGoldsmith
deleted the
codeboten/generate-config-model-from-schema
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters