Fixed Route definition in swagger doc. (#405)

* Fixed Route definition in swagger doc.

* Changed swagger URL to petstore so we don't have to maintain it in swaggerhub and github anymore.
This commit is contained in:
Travis Reeder
2016-12-07 11:33:34 -08:00
committed by C Cirello
parent ca4c7ac2bf
commit e172a838c2
2 changed files with 45 additions and 46 deletions

View File

@@ -13,7 +13,7 @@ If you are a developer using IronFunctions through the API, this section is for
* [Function file (func.yaml)](function-file.md)
* [Packaging functions](packaging.md)
* [Open Function Format](function-format.md)
* [API Reference](https://app.swaggerhub.com/api/iron/functions/)
* [API Reference](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/iron-io/functions/master/docs/swagger.yml)
## For Operators

View File

@@ -6,7 +6,7 @@ swagger: '2.0'
info:
title: IronFunctions
description: The open source serverless platform.
version: "0.1.23"
version: "0.1.24"
# the domain of the service
host: "127.0.0.1:8080"
# array of all schemes that your API supports
@@ -316,8 +316,7 @@ paths:
definitions:
Route:
allOf:
- type: object
type: object
properties:
path:
type: string