cloudmesh / cloudmesh-openapi

Other
8 stars 3 forks source link

General Function Generator #3

Open laszewsk opened 4 years ago

laszewsk commented 4 years ago

Design:

python function -> generator -> OpenAPI3 yaml

Features:

laszewsk commented 4 years ago

Design:

python function -> generator -> OpenAPI3 yaml

Features:

bkegerreis commented 4 years ago

really not sure how to automatically define a class as a parameter since attributes can't be accessed until the class is instantiated. If we ever figure it out, it will look something like this:

type: object
properties:
  a:
    type: integer
  b:
    type: string

Could instantiate a class with no arguments (or some defaults) and then access __annotations__

bkegerreis commented 4 years ago

added support for text/plain or generic application/json response content

prateekazam commented 4 years ago

I am working on pytest.