cloudendpoints / endpoints-python

A Python framework for building RESTful APIs on Google App Engine
Apache License 2.0
51 stars 17 forks source link

Add 'required' for body parameters #173

Closed inklesspen closed 5 years ago

inklesspen commented 6 years ago

https://github.com/cloudendpoints/endpoints-python/blob/2bd41f4c40f6ba2844ac88c9f2f4f82f06bac23c/endpoints/openapi_generator.py#L372-L380

The body message effectively is required, so we should put that in the generated spec.