Replace all whitespaces with tabs.
This commit is contained in:
24
swagger.yaml
24
swagger.yaml
@@ -1,7 +1,7 @@
|
||||
openapi: "3.1.0"
|
||||
info:
|
||||
title: Traefik Redis Provider API
|
||||
version: "1.0"
|
||||
version: "1.1.0"
|
||||
license:
|
||||
name: MIT
|
||||
url: https://opensource.org/licenses/MIT
|
||||
@@ -29,7 +29,7 @@ paths:
|
||||
description: The protocol to use (e.g., http, udp, tcp)
|
||||
example: http
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/components/schemas/Protocol'
|
||||
- name: router
|
||||
in: path
|
||||
required: true
|
||||
@@ -68,7 +68,7 @@ paths:
|
||||
description: The protocol to use (e.g., http, udp, tcp)
|
||||
example: http
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/components/schemas/Protocol'
|
||||
summary: Delete a specific router
|
||||
description: |
|
||||
This endpoint deletes a specific router.
|
||||
@@ -86,7 +86,7 @@ paths:
|
||||
description: The protocol to use (e.g., http, udp, tcp)
|
||||
example: http
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/components/schemas/Protocol'
|
||||
- name: router
|
||||
in: path
|
||||
example: router-1
|
||||
@@ -117,7 +117,7 @@ paths:
|
||||
example: http
|
||||
description: The protocol to use (e.g., http, udp, tcp)
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/components/schemas/Protocol'
|
||||
summary: Get all routers
|
||||
description: |
|
||||
This endpoint retrieves all routers.
|
||||
@@ -135,7 +135,21 @@ paths:
|
||||
|
||||
components:
|
||||
schemas:
|
||||
Protocol:
|
||||
title: Protocol
|
||||
description: |
|
||||
The protocol to use for the router.
|
||||
It can be one of the following: http, tcp, udp.
|
||||
type: string
|
||||
enum:
|
||||
- http
|
||||
- tcp
|
||||
- udp
|
||||
Router:
|
||||
title: Router
|
||||
description: |
|
||||
A router is a component that routes incoming requests to the appropriate service.
|
||||
It can be configured with various settings such as rules, middlewares, and entrypoints.
|
||||
type: object
|
||||
required:
|
||||
- rule
|
||||
|
Reference in New Issue
Block a user