mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
api,fn: entrypoint to return daemon version (#367)
This commit is contained in:
committed by
Seif Lotfy سيف لطفي
parent
8cddfdb125
commit
688ffcf39f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user