Describe the bug
We generate pageable models in implementation package, and we generate client response models in models package.
Issues arises when a client response model body is pageable model. Generated public client response class will have reference to implementation class.
We could do either:
- Generate client response models in implementation package in this case
- Don't generate client response models at all, since it's used only in pageable. There seems no sense exposing this model in this situation.
Reproduction
modelQuotaLimits is Page<QuotaLimitBase>{}listisExtension.ListByTarget<Extension.ScopeParameter,QuotaLimitBase,Response=ArmResponse<QuotaLimits>&{
@header("ETag")eTag: string;}>;Checklist
Describe the bug
We generate pageable models in implementation package, and we generate client response models in models package.
Issues arises when a client response model body is pageable model. Generated public client response class will have reference to implementation class.
We could do either:
Reproduction
Checklist