mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-02 16:49:48 +01:00
Merge pull request #566 from yhua123/master
fix swagger.yml online check issue
This commit is contained in:
commit
cadfea643a
@ -4,7 +4,7 @@ swagger: '2.0'
|
|||||||
info:
|
info:
|
||||||
title: Harbor API
|
title: Harbor API
|
||||||
description: These APIs provide services for manipulating Harbor project.
|
description: These APIs provide services for manipulating Harbor project.
|
||||||
version: "0.1.1"
|
version: "0.3.0"
|
||||||
# the domain of the service
|
# the domain of the service
|
||||||
host: localhost
|
host: localhost
|
||||||
# array of all schemes that your API supports
|
# array of all schemes that your API supports
|
||||||
@ -798,34 +798,6 @@ definitions:
|
|||||||
repo_count:
|
repo_count:
|
||||||
type: integer
|
type: integer
|
||||||
description: The number of the repositories under this project.
|
description: The number of the repositories under this project.
|
||||||
Repository:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: Repository ID
|
|
||||||
parent:
|
|
||||||
type: string
|
|
||||||
description: Parent of the image.
|
|
||||||
created:
|
|
||||||
type: string
|
|
||||||
format: date-time
|
|
||||||
description: Repository create time.
|
|
||||||
duration_days:
|
|
||||||
type: string
|
|
||||||
description: Duration days of the image.
|
|
||||||
author:
|
|
||||||
type: string
|
|
||||||
description: Author of the image.
|
|
||||||
architecture:
|
|
||||||
type: string
|
|
||||||
description: Architecture of the image.
|
|
||||||
docker_version:
|
|
||||||
type: string
|
|
||||||
description: Docker version of the image.
|
|
||||||
os:
|
|
||||||
type: string
|
|
||||||
description: OS of the image.
|
|
||||||
User:
|
User:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -888,7 +860,7 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: The operation against the repository in this log entry.
|
description: The operation against the repository in this log entry.
|
||||||
op_time:
|
op_time:
|
||||||
type: time
|
type: string
|
||||||
description: The time when this operation is triggered.
|
description: The time when this operation is triggered.
|
||||||
Role:
|
Role:
|
||||||
type: object
|
type: object
|
||||||
@ -953,7 +925,3 @@ definitions:
|
|||||||
format: int32
|
format: int32
|
||||||
description: The count of the total repositories, only be seen when the user is admin.
|
description: The count of the total repositories, only be seen when the user is admin.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user