mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 08:05:04 +02:00
more swagger infrastructure
This commit is contained in:
@ -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
28
specs/zrok.yml
Normal 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"
|
Reference in New Issue
Block a user