Skip to content

fix: update OpenAPI spec models and restore mangled UpdateVirtualTagConfigValue export - #32

Merged
orest-tokovenko-block merged 2 commits into
mainfrom
chore/update-openapi-spec
Aug 18, 2026
Merged

fix: update OpenAPI spec models and restore mangled UpdateVirtualTagConfigValue export#32
orest-tokovenko-block merged 2 commits into
mainfrom
chore/update-openapi-spec

Conversation

@orest-tokovenko-block

Copy link
Copy Markdown
Collaborator

Replaces #31 (closed; branch was force-pushed after closing so it could not be reopened).

The upstream Vantage spec now defines the virtual tag value schema twice (inline in createVirtualTagConfig/updateVirtualTagConfig and as the named createVirtualTagConfigValue/updateVirtualTagConfigValue schemas), which makes datamodel-codegen emit *_value1_* twin modules and mangle the colliding class names out of the package exports — UpdateVirtualTagConfigValue disappeared from the public interface, breaking imports.

Changes:

  • Regenerate models from the current spec (new annotation models, recipient_emails on alerts, *_value1_* twins)
  • Pin a stable UpdateVirtualTagConfigValue alias in common.py and re-export it
  • Make the weekly CI job run just regenerate-models so it cleans gen_models/ before codegen (the inline steps left stale deleted modules behind) and stays in sync with local tooling; remove the redundant generate-models recipe
  • Re-record cassettes broken by new required response fields
  • Document the name-collision failure mode in CONTRIBUTORS.md

Offline suite: 69 passed, 34 skipped. Format/lint/typecheck clean.

orest-tokovenko-block and others added 2 commits August 10, 2026 09:35
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…egen

The upstream spec now defines the virtual tag value schema both inline
and as named schemas, so datamodel-codegen emits *_value1_* twins and
the wildcard exports mangle the plain class name out of the package
interface. Pin a stable alias in common.py and re-export it.

Also:
- regenerate models from the current spec (new annotation models,
  recipient_emails on alerts)
- make the weekly CI job run 'just regenerate-models' so it cleans
  gen_models before codegen and stays in sync with local tooling
- remove the redundant generate-models recipe
- re-record cassettes broken by new required response fields
- document the name-collision failure mode in CONTRIBUTORS.md
@orest-tokovenko-block
orest-tokovenko-block merged commit 6c24b87 into main Aug 18, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant