core-api / python-openapi-codec

An OpenAPI codec for Core API.
Other
33 stars 35 forks source link

OpenAPI codec does not populate the `info.description` field #34

Closed paultiplady closed 7 years ago

paultiplady commented 7 years ago

The generate_swagger_object function populates the title in the info object, but not the description.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#info-object

This is a one-liner to fix, I have a PR incoming.