Swagger fixes
parent
f055aaf69d
commit
371a440b9a
|
@ -1978,15 +1978,17 @@ paths:
|
||||||
Devuelve una lista de repositorios de Git
|
Devuelve una lista de repositorios de Git
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Lista de repositorios"
|
description: "Lista de repositorios"
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: object
|
||||||
items:
|
properties:
|
||||||
type: string
|
repositories:
|
||||||
example: linux
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
example: linux
|
||||||
|
|
||||||
"500":
|
"500":
|
||||||
description: "Excepción"
|
description: "Excepción"
|
||||||
|
@ -2034,7 +2036,7 @@ paths:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
example: "Parameters missing"
|
example: "Parameters missing"
|
||||||
/ogrepository/v1/git/tags:
|
/ogrepository/v1/git/repositories/{repository}/tags:
|
||||||
get:
|
get:
|
||||||
summary: "Obtener lista de tags"
|
summary: "Obtener lista de tags"
|
||||||
description: |
|
description: |
|
||||||
|
@ -2042,14 +2044,22 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Lista de tags"
|
description: "Lista de tags"
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: object
|
||||||
items:
|
properties:
|
||||||
type: string
|
tags:
|
||||||
example: v0.1
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
example: v0.1
|
||||||
|
|
||||||
"500":
|
"500":
|
||||||
description: "Excepción"
|
description: "Excepción"
|
||||||
|
@ -2062,7 +2072,7 @@ paths:
|
||||||
exception:
|
exception:
|
||||||
type: string
|
type: string
|
||||||
example: "(Exception description)"
|
example: "(Exception description)"
|
||||||
/ogrepository/v1/git/tags/{branchId}:
|
/ogrepository/v1/git/repositories/{repository}/tags/{tag}:
|
||||||
post:
|
post:
|
||||||
summary: "Crear tag"
|
summary: "Crear tag"
|
||||||
description: |
|
description: |
|
||||||
|
@ -2070,6 +2080,16 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
|
- name: tag
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Tag del repositorio"
|
||||||
- name: JSON
|
- name: JSON
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
|
@ -2125,6 +2145,16 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
|
- name: tag
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Rama del repositorio"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Tag eliminado"
|
description: "Tag eliminado"
|
||||||
|
@ -2135,7 +2165,7 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
example: deleted
|
example: deleted
|
||||||
"500":
|
"500":
|
||||||
description: "Git no instalado"
|
description: "Excepción"
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -2145,7 +2175,7 @@ paths:
|
||||||
exception:
|
exception:
|
||||||
type: string
|
type: string
|
||||||
example: "(Exception description)"
|
example: "(Exception description)"
|
||||||
/ogrepository/v1/git/branches:
|
/ogrepository/v1/git/repositories/{repository}/branches:
|
||||||
get:
|
get:
|
||||||
summary: "Obtener lista de branches"
|
summary: "Obtener lista de branches"
|
||||||
description: |
|
description: |
|
||||||
|
@ -2153,14 +2183,22 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Lista de branches"
|
description: "Lista de branches"
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: object
|
||||||
items:
|
properties:
|
||||||
type: string
|
branches:
|
||||||
example: main
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
example: main
|
||||||
|
|
||||||
"500":
|
"500":
|
||||||
description: "Excepción"
|
description: "Excepción"
|
||||||
|
@ -2190,7 +2228,7 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
example: "Branch already exists"
|
example: "Branch already exists"
|
||||||
|
|
||||||
/ogrepository/v1/git/branches/{branchId}:
|
/ogrepository/v1/git/repositories/{repository}/branches/{branch}:
|
||||||
post:
|
post:
|
||||||
summary: "Crear branch"
|
summary: "Crear branch"
|
||||||
description: |
|
description: |
|
||||||
|
@ -2198,6 +2236,16 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
|
- name: branch
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Branch del repositorio"
|
||||||
- name: JSON
|
- name: JSON
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
|
@ -2236,6 +2284,16 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- "Git"
|
- "Git"
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: repository
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Nombre de repositorio"
|
||||||
|
- name: branch
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "Branch del repositorio"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Branch eliminado"
|
description: "Branch eliminado"
|
||||||
|
|
Loading…
Reference in New Issue