SmartDocs - Model per API?

Oliver_Ogg
Participant II

Hi,

A simple question perhaps, but is it generally recommended to create a model for each API? In my case I have a Swagger 2.0 file which represents each API.

Thanks

Solved Solved
0 2 165
1 ACCEPTED SOLUTION

Hi Oliver,

Since an API proxy is an organizing artifact of API development, there are some nice parallels to having one model associated with each proxy. Another choice might be one model per product, since client access organized around API products, but I'd prefer the former.

View solution in original post

2 REPLIES 2

Hi Oliver,

Since an API proxy is an organizing artifact of API development, there are some nice parallels to having one model associated with each proxy. Another choice might be one model per product, since client access organized around API products, but I'd prefer the former.

Thanks Marsh. I'll go for the former, but interesting idea about the one model per product.