Skip to content

Commit

Permalink
chore(openapi): add authentication method (#65)
Browse files Browse the repository at this point in the history
Fix #59.
  • Loading branch information
bfabio authored Jul 11, 2022
1 parent 0b3d821 commit 2f6aeb8
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions developers-italia.oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ paths:
description: Create a new Software
tags:
- software
security:
- bearerAuth: []
operationId: post-software
responses:
'200':
Expand Down Expand Up @@ -158,6 +160,8 @@ paths:
description: Update a Software by its id
tags:
- software
security:
- bearerAuth: []
operationId: patch-software-softwareId
responses:
'200':
Expand Down Expand Up @@ -187,6 +191,8 @@ paths:
description: Delete a Sofware by its id
tags:
- software
security:
- bearerAuth: []
operationId: delete-software-softwareId
responses:
'204':
Expand Down Expand Up @@ -272,6 +278,8 @@ paths:
description: Create Logs for a Software by its id
tags:
- logs
security:
- bearerAuth: []
operationId: post-software-softwareId-logs
responses:
'204':
Expand Down Expand Up @@ -330,6 +338,8 @@ paths:
description: Create a Bundle
tags:
- bundles
security:
- bearerAuth: []
operationId: post-bundles
responses:
'200':
Expand Down Expand Up @@ -388,6 +398,8 @@ paths:
description: Update a Bundle by its id
tags:
- bundles
security:
- bearerAuth: []
operationId: patch-bundle-bundleId
responses:
'200':
Expand Down Expand Up @@ -417,6 +429,8 @@ paths:
description: Delete a Bundle by its id
tags:
- bundles
security:
- bearerAuth: []
operationId: delete-bundle-bundleId
responses:
'204':
Expand Down Expand Up @@ -501,6 +515,8 @@ paths:
description: Create Logs
tags:
- logs
security:
- bearerAuth: []
operationId: post-logs
responses:
'204':
Expand Down Expand Up @@ -555,6 +571,8 @@ paths:
description: Create a new Publisher
tags:
- publishers
security:
- bearerAuth: []
operationId: post-publishers
responses:
'200':
Expand Down Expand Up @@ -606,6 +624,8 @@ paths:
description: Update a Publisher by its id
tags:
- publishers
security:
- bearerAuth: []
operationId: patch-publishers-publisherId
responses:
'200':
Expand Down Expand Up @@ -635,6 +655,8 @@ paths:
description: Delete a Publisher by its id
tags:
- publishers
security:
- bearerAuth: []
operationId: delete-publishers-publisherId
responses:
'204':
Expand Down Expand Up @@ -778,8 +800,7 @@ components:
- title
- detail
securitySchemes:
API Key - 1:
name: API Key
type: apiKey
in: header
description: ''
bearerAuth:
type: http
scheme: bearer
bearerFormat: PASETO

0 comments on commit 2f6aeb8

Please sign in to comment.