Renamed the "KeySecret" and "Token" security schemas for the Open API specification document in the library target as "ConsumerKeySecret" and "UserToken" respectively.

This commit is contained in:
2025-10-15 19:23:48 +02:00
parent 39e9dc5d53
commit ada7c3b85e
+10 -10
View File
@@ -346,8 +346,8 @@ paths:
For further details about this process, please refer to the [OAuth flow](https://www.discogs.com/developers#page:authentication,header:authentication-oauth-flow) section in the [Discogs API authentication](https://www.discogs.com/developers#page:authentication) documentation.
operationId: getUserIdentity
security:
- Token: []
- KeySecret: []
- UserToken: []
- ConsumerKeySecret: []
- OAuth: []
responses:
'200':
@@ -477,8 +477,8 @@ paths:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PerPage'
security:
- Token: []
- KeySecret: []
- UserToken: []
- ConsumerKeySecret: []
- OAuth: []
responses:
'200':
@@ -806,8 +806,8 @@ paths:
- $ref: '#/components/parameters/Username'
- $ref: '#/components/parameters/Rating'
security:
- Token: []
- KeySecret: []
- UserToken: []
- ConsumerKeySecret: []
- OAuth: []
responses:
'200':
@@ -842,8 +842,8 @@ paths:
- $ref: '#/components/parameters/ReleaseId'
- $ref: '#/components/parameters/Username'
security:
- Token: []
- KeySecret: []
- UserToken: []
- ConsumerKeySecret: []
- OAuth: []
responses:
'200':
@@ -2113,7 +2113,7 @@ components:
- title
- uri
securitySchemes:
KeySecret:
ConsumerKeySecret:
description: |
Discogs authentication using a key/secret pair.
@@ -2133,7 +2133,7 @@ components:
The `Authorization` header should be constructed according to OAuth 1.0a specs, for example: `OAuth oauth_consumer_key="...", oauth_nonce="...", ...`
type: http
scheme: oauth
Token:
UserToken:
description: |
Discogs authentication using a personal access token.