added security to the container specs

This commit is contained in:
Mirjam Herald 2026-06-24 11:30:18 +02:00
parent 75531b4fdc
commit 07e1dc91e3
2 changed files with 22 additions and 0 deletions

View File

@ -11,6 +11,8 @@ tags:
description: >- description: >-
Service Engine APIs for the HTM Notification preferences for a category for a user. Service Engine APIs for the HTM Notification preferences for a category for a user.
Contains a full list on event type channel level. Contains a full list on event type channel level.
security:
- oAuthSample: [profile]
paths: paths:
/customers/{customerProfileId}/notificationpreferences: /customers/{customerProfileId}/notificationpreferences:
parameters: parameters:
@ -1829,6 +1831,15 @@ paths:
], ],
} }
components: components:
securitySchemes:
oAuthSample:
type: oauth2
description: This API uses OAuth 2 with the clientCredentials flow. [More info](https://api.example.com/docs/auth)
flows:
clientCredentials: # <---- OAuth flow( clientCredentials)
tokenUrl: https://identity.{{env}}.api.htm.nl/oauth2/token
scopes:
profile
schemas: schemas:
unavailable: unavailable:
type: object type: object

View File

@ -6,6 +6,8 @@ info:
version: "1.0" version: "1.0"
servers: servers:
- url: https://services.acc.api.htm.nl/abt/containertokens/1.0 - url: https://services.acc.api.htm.nl/abt/containertokens/1.0
security:
- oAuthSample: [profile]
tags: tags:
- name: tokens - name: tokens
paths: paths:
@ -296,6 +298,15 @@ paths:
example: example:
error: An unknown error has occurred error: An unknown error has occurred
components: components:
securitySchemes:
oAuthSample:
type: oauth2
description: This API uses OAuth 2 with the clientCredentials flow. [More info](https://api.example.com/docs/auth)
flows:
clientCredentials: # <---- OAuth flow( clientCredentials)
tokenUrl: https://identity.{{env}}.api.htm.nl/oauth2/token
scopes:
profile
schemas: schemas:
unavailable: unavailable:
type: object type: object