socialnetworknews-api

git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-api.git
Log | Files | Refs | LICENSE

commit 5d9c78a23108eff4c209b5d544cf6e480ddec7b4
parent da0eb1b9220a176f7322dc5851b769e642986e87
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 18 Feb 2018 19:29:46 +0100

Add Version header

Diffstat:
Mapi/openapi.yaml | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/api/openapi.yaml b/api/openapi.yaml @@ -29,6 +29,12 @@ paths: responses: '200': # status code description: A JSON array containing a short info about available Papers + headers: + API-VERSION: + schema: + type: string + default: 0.0.0 + description: Current API Version. content: application/json: schema: @@ -55,6 +61,12 @@ paths: responses: '200': # status code description: A JSON array containing a short info about available Papers + headers: + API-VERSION: + schema: + type: string + default: 0.0.0 + description: Current API Version. content: application/json: schema: @@ -95,6 +107,12 @@ paths: responses: '200': # status code description: A JSON array of Posts (currently Tweets) + headers: + API-VERSION: + schema: + type: string + default: 0.0.0 + description: Current API Version. content: application/json: schema: