Replace all whitespaces with tabs.

This commit is contained in:
2025-05-06 11:28:06 -04:00
parent 021178a5e7
commit 8ba066505a

View File

@@ -1,7 +1,7 @@
openapi: "3.1.0" openapi: "3.1.0"
info: info:
title: Traefik Redis Provider API title: Traefik Redis Provider API
version: "1.0" version: "1.1.0"
license: license:
name: MIT name: MIT
url: https://opensource.org/licenses/MIT url: https://opensource.org/licenses/MIT
@@ -29,7 +29,7 @@ paths:
description: The protocol to use (e.g., http, udp, tcp) description: The protocol to use (e.g., http, udp, tcp)
example: http example: http
schema: schema:
type: string $ref: '#/components/schemas/Protocol'
- name: router - name: router
in: path in: path
required: true required: true
@@ -68,7 +68,7 @@ paths:
description: The protocol to use (e.g., http, udp, tcp) description: The protocol to use (e.g., http, udp, tcp)
example: http example: http
schema: schema:
type: string $ref: '#/components/schemas/Protocol'
summary: Delete a specific router summary: Delete a specific router
description: | description: |
This endpoint deletes a specific router. This endpoint deletes a specific router.
@@ -86,7 +86,7 @@ paths:
description: The protocol to use (e.g., http, udp, tcp) description: The protocol to use (e.g., http, udp, tcp)
example: http example: http
schema: schema:
type: string $ref: '#/components/schemas/Protocol'
- name: router - name: router
in: path in: path
example: router-1 example: router-1
@@ -117,7 +117,7 @@ paths:
example: http example: http
description: The protocol to use (e.g., http, udp, tcp) description: The protocol to use (e.g., http, udp, tcp)
schema: schema:
type: string $ref: '#/components/schemas/Protocol'
summary: Get all routers summary: Get all routers
description: | description: |
This endpoint retrieves all routers. This endpoint retrieves all routers.
@@ -135,7 +135,21 @@ paths:
components: components:
schemas: 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: 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 type: object
required: required:
- rule - rule