forked from loafle/openapi-generator-original
Update NodeJS server petstore samples with OAS2, OAS3 (#113)
* update nodejs server oas2 * update nodejs server petstore with oas3 * update nodejs google cloud with oas2 petstore * update nodejs server google function with oas3
This commit is contained in:
@@ -65,12 +65,11 @@ exports.getOrderById = function(orderId) {
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
*
|
||||
* body Order order placed for purchasing the pet
|
||||
* order Order order placed for purchasing the pet
|
||||
* returns Order
|
||||
**/
|
||||
exports.placeOrder = function(body) {
|
||||
exports.placeOrder = function(order) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var examples = {};
|
||||
examples['application/json'] = {
|
||||
|
||||
Reference in New Issue
Block a user