ni / systemlink-OpenAPI-documents

MIT License
16 stars 22 forks source link

nitag: Add missing titles and extract definitions for duplicate schemas #21

Closed spanglerco closed 5 years ago

spanglerco commented 5 years ago

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?

This improves the result of generating a client from the Swagger document. All responses without titles end up being named something like InlineResponse200. We also had several duplicate schemas like SubscriptionIds.

Why should this Pull Request be merged?

Enhances usability of code generated from the Swagger document.

What testing has been done?

Generated a C# client and verified there are no more duplicate models or those with a default name.