Open remyleone opened 3 months ago
Hi @remyleone 👋
The reason why the provider name is necessary in this tool's configuration is because that name is needed to generate the full resource type names, e.g. {provider}_{resource}.
Per the tool documentation, I believe you should only need:
provider:
name: xxx
Not the full schema or anything. Can you please try that and let us know if you have further trouble? Thanks.
tfplugingen-openapi CLI version
OpenAPI Spec File
Generator Config
Expected Behavior
I would expect only the resource files to be created
Actual Behavior
Additional Information
I would like to have different files, that are targeting different part of the generation. We have many APIs and having everything bundled in a single file is not very interesting. Also if we are forced to declare provider definition while not being interested in the output it seems to be inefficient
Code of Conduct