When Nautobot adds new data models and new REST API endpoints in support of those models, nautobot-ansible currently must be manually updated to add new modules (#282, #288, etc.). Similarly, when new fields are added to existing models/endpoints, or even just if some fields were missed in the initial implementation, manual updates are also needed (#273, #275, etc.).
Since ultimately these modules are a "wrapper" around the Nautobot REST API, it seems like it should be possible to (at least in large part) automatically generate module definitions based on Nautobot's REST API OpenAPI schema. A relatively small amount of automation in this area could greatly reduce the amount of manual effort needed to update and maintain these modules.
ISSUE TYPE
SUMMARY
When Nautobot adds new data models and new REST API endpoints in support of those models, nautobot-ansible currently must be manually updated to add new modules (#282, #288, etc.). Similarly, when new fields are added to existing models/endpoints, or even just if some fields were missed in the initial implementation, manual updates are also needed (#273, #275, etc.).
Since ultimately these modules are a "wrapper" around the Nautobot REST API, it seems like it should be possible to (at least in large part) automatically generate module definitions based on Nautobot's REST API OpenAPI schema. A relatively small amount of automation in this area could greatly reduce the amount of manual effort needed to update and maintain these modules.
Possible inspiration: