Reputation: 69
I have an issue most likely just not understanding how swashbuckle generates swagger json file.
I have a couple API's and all of them share some infrastructure so it is packaged and therefore is shared among all of them. In that infrastructure is added swagger configurations. So I know for sure they all share the same configurations as long as the package itself is up to date.
To my surprise I find that json generated for these APIs is rather different. I use it later with autorest, 2 of those work and one fails with error: Error: Collision detected inserting into object: constructor
The obvious difference I see between those is that the one which fails has some extra parameters generated, such as:
I am puzzled why those are a part of that specific API swagger json even though all 3 APIs are very similar and as mentioned before all share the same swagger configurations. Am I missing something?
Package/framework versions:
Thank you!
Upvotes: -1
Views: 275
Reputation: 1
Issue addressed here to autorest github repo https://github.com/Azure/autorest/issues/3428. Might be good to have it tracked
Upvotes: 0