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. 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 operationId: getUserIdentity
security: security:
- Token: [] - UserToken: []
- KeySecret: [] - ConsumerKeySecret: []
- OAuth: [] - OAuth: []
responses: responses:
'200': '200':
@@ -477,8 +477,8 @@ paths:
- $ref: '#/components/parameters/Page' - $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PerPage' - $ref: '#/components/parameters/PerPage'
security: security:
- Token: [] - UserToken: []
- KeySecret: [] - ConsumerKeySecret: []
- OAuth: [] - OAuth: []
responses: responses:
'200': '200':
@@ -806,8 +806,8 @@ paths:
- $ref: '#/components/parameters/Username' - $ref: '#/components/parameters/Username'
- $ref: '#/components/parameters/Rating' - $ref: '#/components/parameters/Rating'
security: security:
- Token: [] - UserToken: []
- KeySecret: [] - ConsumerKeySecret: []
- OAuth: [] - OAuth: []
responses: responses:
'200': '200':
@@ -842,8 +842,8 @@ paths:
- $ref: '#/components/parameters/ReleaseId' - $ref: '#/components/parameters/ReleaseId'
- $ref: '#/components/parameters/Username' - $ref: '#/components/parameters/Username'
security: security:
- Token: [] - UserToken: []
- KeySecret: [] - ConsumerKeySecret: []
- OAuth: [] - OAuth: []
responses: responses:
'200': '200':
@@ -2113,7 +2113,7 @@ components:
- title - title
- uri - uri
securitySchemes: securitySchemes:
KeySecret: ConsumerKeySecret:
description: | description: |
Discogs authentication using a key/secret pair. 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="...", ...` The `Authorization` header should be constructed according to OAuth 1.0a specs, for example: `OAuth oauth_consumer_key="...", oauth_nonce="...", ...`
type: http type: http
scheme: oauth scheme: oauth
Token: UserToken:
description: | description: |
Discogs authentication using a personal access token. Discogs authentication using a personal access token.