fix references in api-definition
This commit is contained in:
parent
1dd3b3e8e3
commit
dfc7162675
@ -47,7 +47,7 @@ post:
|
|||||||
content:
|
content:
|
||||||
'application/json':
|
'application/json':
|
||||||
schema:
|
schema:
|
||||||
$ref: './api-definition/hs-customer-schemas/components.yaml#/schemas/Customer'
|
$ref: './api-definition/hs-customer-schemas.yaml#/components/schemas/Customer'
|
||||||
"401":
|
"401":
|
||||||
$ref: './api-definition/error-responses.yaml#/components/responses/Unauthorized'
|
$ref: './api-definition/error-responses.yaml#/components/responses/Unauthorized'
|
||||||
"403":
|
"403":
|
||||||
|
@ -10,7 +10,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
customer:
|
customer:
|
||||||
$ref: './api-definition/hs-customers-schemas.yaml#/components/schemas/Customer'
|
$ref: './api-definition/hs-customer-schemas.yaml#/components/schemas/Customer'
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
@ -3,8 +3,8 @@ patch:
|
|||||||
- packages
|
- packages
|
||||||
operationId: updatePackage
|
operationId: updatePackage
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/currentUser'
|
- $ref: './api-definition/auth.yaml#/components/parameters/currentUser'
|
||||||
- $ref: '#/components/parameters/assumedRoles'
|
- $ref: './api-definition/auth.yaml#/components/parameters/assumedRoles'
|
||||||
- name: packageUUID
|
- name: packageUUID
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
@ -15,15 +15,15 @@ patch:
|
|||||||
content:
|
content:
|
||||||
'application/json':
|
'application/json':
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PackageUpdate'
|
$ref: './api-definition/hs-package-schemas.yaml#/components/schemas/PackageUpdate'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
content:
|
content:
|
||||||
'application/json':
|
'application/json':
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Package'
|
$ref: './api-definition/hs-package-schemas.yaml#/components/schemas/Package'
|
||||||
"401":
|
"401":
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: './api-definition/error-responses.yaml#/components/responses/Unauthorized'
|
||||||
"403":
|
"403":
|
||||||
$ref: '#/components/responses/Forbidden'
|
$ref: './api-definition/error-responses.yaml#/components/responses/Forbidden'
|
||||||
|
@ -3,8 +3,8 @@ get:
|
|||||||
- packages
|
- packages
|
||||||
operationId: listPackages
|
operationId: listPackages
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: './auth.yaml#/components/parameters/currentUser'
|
- $ref: './api-definition/auth.yaml#/components/parameters/currentUser'
|
||||||
- $ref: './auth.yaml#/components/parameters/assumedRoles'
|
- $ref: './api-definition/auth.yaml#/components/parameters/assumedRoles'
|
||||||
- name: name
|
- name: name
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
@ -18,8 +18,8 @@ get:
|
|||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: './hs-package-schemas/components/schemas/Package'
|
$ref: './api-definition/hs-package-schemas.yaml#/components/schemas/Package'
|
||||||
"401":
|
"401":
|
||||||
$ref: './error-responses.yaml#/components/responses/Unauthorized'
|
$ref: './api-definition/error-responses.yaml#/components/responses/Unauthorized'
|
||||||
"403":
|
"403":
|
||||||
$ref: './error-responses.yaml#/components/responses/Forbidden'
|
$ref: './api-definition/error-responses.yaml#/components/responses/Forbidden'
|
||||||
|
Loading…
Reference in New Issue
Block a user