buildKotlinSourceFileContributions
Builds source-file contribution DTOs for Kotlin generators from shared endpoint metadata.
Endpoints are grouped by source package and source file so each generated file can contribute members to a single merged endpoint contract.
Return
contributions grouped per generated Kotlin source file.
Parameters
endpoint metadata to translate into source-file contributions.
suffix appended to source-level enclosing endpoints interfaces.
package segment appended to source packages for generated sources.
generates the aggregate interface name for a source file.
nested interface name exposed by every contributed endpoint member.
supplies any generator-specific imports required for one source file.
builds nested content for one endpoint and its shared contract model.
builds additional top-level declarations for one generated file.