You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we generate provider models and attributes from OpenAPI specs, which creates unnecessary complexity and disconnects between the API and provider designs. This leads to:
Multiple schema overrides to fix discrepancies
Extra maintenance overhead
Less control over the provider schema design
Proposed Solution:
Remove OpenAPI code generation for provider schemas
Directly define provider models and attributes in Go
Keep API client generation for actual API interactions
Document provider schema separately from API specs
Keep provider code generation files in source control to help with bootstrapping and detecting API changes?
Benefits:
Cleaner and more maintainable code
Better control over provider schema design
Reduced need for schema overrides
The text was updated successfully, but these errors were encountered:
Currently, we generate provider models and attributes from OpenAPI specs, which creates unnecessary complexity and disconnects between the API and provider designs. This leads to:
Proposed Solution:
Benefits:
The text was updated successfully, but these errors were encountered: