mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-18 05:31:55 +01:00
Merge pull request #11528 from ywk253100/200409_swagger
Add version API to swagger
This commit is contained in:
commit
1b2efac156
@ -18,6 +18,21 @@ securityDefinitions:
|
||||
security:
|
||||
- basicAuth: []
|
||||
paths:
|
||||
/version:
|
||||
get:
|
||||
summary: Get API version
|
||||
description: Get the version of API that supported by the Harbor instance.
|
||||
tags:
|
||||
- Version
|
||||
responses:
|
||||
'200':
|
||||
description: The supported API version
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
|
||||
/chartrepo/health:
|
||||
get:
|
||||
summary: Check the health of chart repository service.
|
||||
|
@ -641,7 +641,7 @@ paths:
|
||||
parameters:
|
||||
query:
|
||||
name: q
|
||||
description: Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
||||
description: Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
||||
in: query
|
||||
type: string
|
||||
required: false
|
||||
|
Loading…
Reference in New Issue
Block a user