cloudmesh-community / hid-sp18-516

Pathan, Shagufta
1 stars 4 forks source link

swagger spec #24

Closed laszewsk closed 6 years ago

laszewsk commented 6 years ago

Would you not need a flavor and vm definition in your swagger spec. see pet store example So instead of Order you woudl need

Flavor VM

?


> definitions:
>   Order:
>     type: "object"
>     properties:
>       id:
>         type: "integer"
>         format: "int64"
>       petId:
>         type: "integer"
>         format: "int64"
>       quantity:
>         type: "integer"
>         format: "int32"
>       shipDate:
>         type: "string"
>         format: "date-time"
>       status:
>         type: "string"
>         description: "Order Status"
>         enum:
>         - "placed"
>         - "approved"
>         - "delivered"
>       complete:
>         type: "boolean"
>         default: false
>     xml:
>       name: "Order"
spathan1985 commented 6 years ago

Is this regarding my final Project Professor @laszewsk ?

spathan1985 commented 6 years ago

If yes, I'm working on it.

spathan1985 commented 6 years ago

Done