more swagger infrastructure

This commit is contained in:
Michael Quigley
2022-07-22 10:52:36 -04:00
parent 24815de925
commit 87d729791a
20 changed files with 2021 additions and 23 deletions

View File

@ -1,12 +0,0 @@
swagger: '2.0'
info:
description: zrok Client API
title: zrok-client
version: v1
paths:
/:
get:
summary: Retrieve version information
responses:
'200':
description: Version information

28
specs/zrok.yml Normal file
View File

@ -0,0 +1,28 @@
info:
description: Client access service
title: zrok Client
version: 1.0.0
paths:
/:
get:
tags:
- metadata
responses:
200:
description: Retrieve the current server version
schema:
$ref: "#/definitions/version"
definitions:
version:
type: object
properties:
version:
type: string
minLength: 1
produces:
- application/zrok.client.v1+json
consumes:
- application/zrok.client.v1+json
schemes:
- http
swagger: "2.0"