mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-24 18:10:51 +01:00
remove swaggers definitions
This commit is contained in:
parent
499bef42b5
commit
cfacb5bbc0
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,58 +0,0 @@
|
|||||||
openapi: 3.0.3
|
|
||||||
info:
|
|
||||||
title: 2FAS Websocket API
|
|
||||||
version: 0.0.1
|
|
||||||
|
|
||||||
servers:
|
|
||||||
- url: wss://ws.2fas.com/
|
|
||||||
|
|
||||||
paths:
|
|
||||||
/health:
|
|
||||||
get:
|
|
||||||
summary: Health check endpoint.
|
|
||||||
tags:
|
|
||||||
- websocket
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Application is healthy
|
|
||||||
|
|
||||||
/browser_extensions/{extensionId}:
|
|
||||||
get:
|
|
||||||
summary: Main subscription channel for browser extension.
|
|
||||||
tags:
|
|
||||||
- websocket
|
|
||||||
parameters:
|
|
||||||
- name: extensionId
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The ID of browser extension.
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Browser subscribed to channel.
|
|
||||||
|
|
||||||
/browser_extensions/{extensionId}/2fa_requests/{tokenRequestId}:
|
|
||||||
get:
|
|
||||||
summary: Subscription channel for browser extension 2fa request.
|
|
||||||
tags:
|
|
||||||
- websocket
|
|
||||||
parameters:
|
|
||||||
- name: extensionId
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The ID of browser extension.
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
- name: tokenRequestId
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The ID of browser extension 2fa request.
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Browser subscribed to channel.
|
|
Loading…
Reference in New Issue
Block a user