Implemented the missing Database endpoints (#8)

This PR contains the work done to declare the missing, non-GET endpoints of the *Database* section in the [Discogs API documentation](https://www.discogs.com/developers#page:database) into the `OpenAPI` specification document.

Furthermore, documentation extensions have been defined for the `APIProtocol` and `Client` types in the `DocC` documentation catalog to match the categories of these endpoint calls to the categories in the Discogs documentation.

Reviewed-on: #8
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #8.
This commit is contained in:
2025-10-13 15:20:20 +00:00
committed by Javier Cicchelli
parent d01b60e6dd
commit de5b4ff5d0
2291 changed files with 2450 additions and 2032 deletions
@@ -1 +1 @@
{"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"kind":"symbol","sections":[],"abstract":[{"text":"An input does not comply with the consumer secret requirements.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumersecret"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerSecret"}],"modules":[{"name":"DiscogsService"}],"role":"symbol","symbolKind":"case","roleHeading":"Case","title":"InputValidationError.inputNotConsumerSecret","externalID":"s:14DiscogsService20InputValidationErrorO22inputNotConsumerSecretyA2CmF"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerSecret"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret"},"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotConsumerSecret":{"abstract":[{"text":"An input does not comply with the consumer secret requirements.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerSecret"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret","type":"topic","kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumersecret","title":"InputValidationError.inputNotConsumerSecret"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","url":"\/documentation\/discogsservice","type":"topic","role":"collection","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"navigatorTitle":[{"text":"InputValidationError","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"InputValidationError","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","url":"\/documentation\/discogsservice\/inputvalidationerror","role":"symbol","type":"topic","abstract":[{"type":"text","text":"A representation of all the possible validation error that could be thrown while validating an input."}],"title":"InputValidationError"}}}
{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"An input does not comply with the consumer secret requirements."}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret","interfaceLanguage":"swift"},"metadata":{"title":"InputValidationError.inputNotConsumerSecret","modules":[{"name":"DiscogsService"}],"symbolKind":"case","externalID":"s:14DiscogsService20InputValidationErrorO22inputNotConsumerSecretyA2CmF","role":"symbol","roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotConsumerSecret","kind":"identifier"}]},"sections":[],"variants":[{"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumersecret"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotConsumerSecret","kind":"identifier"}],"platforms":["macOS"]}]}],"kind":"symbol","references":{"doc://DiscogsService/documentation/DiscogsService":{"type":"topic","title":"DiscogsService","url":"\/documentation\/discogsservice","role":"collection","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotConsumerSecret":{"type":"topic","title":"InputValidationError.inputNotConsumerSecret","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret","abstract":[{"text":"An input does not comply with the consumer secret requirements.","type":"text"}],"kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumersecret","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotConsumerSecret","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"type":"topic","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}],"navigatorTitle":[{"kind":"identifier","text":"InputValidationError"}],"title":"InputValidationError","url":"\/documentation\/discogsservice\/inputvalidationerror","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","abstract":[{"text":"A representation of all the possible validation error that could be thrown while validating an input.","type":"text"}]}}}