ni / systemlink-OpenAPI-documents

MIT License
16 stars 22 forks source link

nitag: Correct selection responses #26

Closed spanglerco closed 5 years ago

spanglerco commented 5 years ago

What does this Pull Request accomplish?

Fixes responses to reference a schema instead of directly referencing the definition. Swagger UI shows the model under the response, but codegen ignores the definition, resulting in void methods.

Why should this Pull Request be merged?

Enables generated clients to use the selection APIs.

What testing has been done?

Generated a C# client from the updated document and verified the selection methods are no longer void.