Skip to content

Commit

Permalink
update openapi specs (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppedipinto authored Jun 19, 2024
1 parent 82b0700 commit 193b46a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 129 deletions.
43 changes: 0 additions & 43 deletions api_services_app_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,35 +225,6 @@ paths:
description: Bad gateway
'504':
description: Gateway timeout
/featured:
get:
tags:
- featured
summary: Retrieve featured intitutions and/or services
operationId: getFeaturedItems
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/FeaturedItems'
'401':
description: Bearer token null or expired
'403':
description: Forbidden
'404':
description: Not found
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemJson'
'502':
description: Bad gateway
'504':
description: Gateway timeout
components:
securitySchemes:
Bearer:
Expand Down Expand Up @@ -347,20 +318,6 @@ components:
- version
- organization
- metadata
FeaturedItems:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/FeaturedItem'
required:
- items
FeaturedItem:
x-one-of: true
allOf:
- $ref: '#/components/schemas/FeaturedService'
- $ref: '#/components/schemas/Institution'
FeaturedServices:
type: object
properties:
Expand Down
43 changes: 0 additions & 43 deletions openapi/api_services_app_backend.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,35 +211,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ProblemJson"
/featured:
get:
tags:
- featured
summary: Retrieve featured intitutions and/or services
operationId: getFeaturedItems
responses:
"200":
description: successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/FeaturedItems"
"401":
description: Bearer token null or expired
"403":
description: Forbidden
"404":
description: Not found
"502":
description: Bad gateway
"504":
description: Gateway timeout
"500":
description: Internal Server Error
content:
application/json:
schema:
$ref: "#/components/schemas/ProblemJson"
components:
securitySchemes:
Bearer:
Expand Down Expand Up @@ -333,20 +304,6 @@ components:
- version
- organization
- metadata
FeaturedItems:
type: object
properties:
items:
type: array
items:
$ref: "#/components/schemas/FeaturedItem"
required:
- items
FeaturedItem:
x-one-of: true
allOf:
- $ref: "#/components/schemas/FeaturedService"
- $ref: "#/components/schemas/Institution"
FeaturedServices:
type: object
properties:
Expand Down
43 changes: 0 additions & 43 deletions openapi/generated/api_services_app_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,35 +225,6 @@ paths:
description: Bad gateway
'504':
description: Gateway timeout
/featured:
get:
tags:
- featured
summary: Retrieve featured intitutions and/or services
operationId: getFeaturedItems
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/FeaturedItems'
'401':
description: Bearer token null or expired
'403':
description: Forbidden
'404':
description: Not found
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemJson'
'502':
description: Bad gateway
'504':
description: Gateway timeout
components:
securitySchemes:
Bearer:
Expand Down Expand Up @@ -347,20 +318,6 @@ components:
- version
- organization
- metadata
FeaturedItems:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/FeaturedItem'
required:
- items
FeaturedItem:
x-one-of: true
allOf:
- $ref: '#/components/schemas/FeaturedService'
- $ref: '#/components/schemas/Institution'
FeaturedServices:
type: object
properties:
Expand Down

0 comments on commit 193b46a

Please sign in to comment.