Created by: Jyhess
@wing328 @taxpon @frol @mbohlool @cbornet @kenjones-cisco @tomplus
Following issue 1322, I started to write a generator for aiohttp server. It's a work in progress, and I would like early review and help to fix some remaining issues.
Note:
- I think some improvements can be applied to flask generator (like security management for example), but for the moment, I didn't change it as I'm not familiar with.
And here is some questions:
In preprocessOpenAPI function, I set body name to "body" by default. I would like set it to type name (pet or user is better, but didn't figure how to get easily this information. Do you know how I can find this information ?
In model.mustach, I would like to generate imports for other generated class, like
from openapi_server.models.category import Category
from openapi_server.models.tag import Tag
Do you know how I can do that ? There is the same issue with Flask generator.
In test controllers, examples are not generated. Any clue on that ?
Do you know why side files, like git_push.sh, or setup.py are generated? I'm not sure they should be part of a code generator.