api,fn: entrypoint to return daemon version (#367)

This commit is contained in:
C Cirello
2016-12-01 16:50:49 +01:00
committed by Seif Lotfy سيف لطفي
parent 8cddfdb125
commit 688ffcf39f
4 changed files with 72 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ swagger: '2.0'
info:
title: IronFunctions
description: The open source serverless platform.
version: "0.1.20"
version: "0.1.21"
# the domain of the service
host: "127.0.0.1:8080"
# array of all schemes that your API supports
@@ -20,6 +20,16 @@ consumes:
produces:
- application/json
paths:
/version:
get:
summary: "Get daemon version."
tags:
- Version
responses:
200:
description: Daemon version.
schema:
$ref: '#/definitions/Version'
/apps:
get:
summary: "Get all app names."
@@ -364,6 +374,13 @@ definitions:
additionalProperties:
type: string
Version:
type: object
properties:
version:
type: string
readOnly: true
RoutesWrapper:
type: object
required: