d01b60e6dd
This PR contains the work done to define the `RateLimit`, `RateLimitRemaining` and the `RateLimitUsed` heades into the Open API specification document, as well as including these headers as part of the response for every existing endpoint declared in the mentioned document. In addition, the `openapi-generator-config` files was also changed to have a different naming strategy. Reviewed-on: #7 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease"]]},"topicSections":[{"title":"Enumeration Cases","anchor":"Enumeration-Cases","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/artist","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/catno","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/format","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/id","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/resourceUrl","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/status","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/thumb","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/title","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/year"],"generated":true},{"title":"Initializers","anchor":"Initializers","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(intValue:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(rawValue:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(stringValue:)"],"generated":true},{"title":"Default Implementations","anchor":"Default-Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/CodingKey-Implementations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/Equatable-Implementations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/RawRepresentable-Implementations"],"generated":true}],"sections":[],"metadata":{"navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}],"title":"Components.Schemas.LabelRelease.CodingKeys","modules":[{"name":"DiscogsService"}],"role":"symbol","externalID":"s:14DiscogsService10ComponentsO7SchemasO12LabelReleaseV10CodingKeysO","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"symbolKind":"enum","roleHeading":"Enumeration"},"relationshipsSections":[{"identifiers":["doc:\/\/DiscogsService\/s9CodingKeyP","doc:\/\/DiscogsService\/s28CustomDebugStringConvertibleP","doc:\/\/DiscogsService\/s23CustomStringConvertibleP","doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/SY","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo","title":"Conforms To","kind":"relationships"}],"kind":"symbol","identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys","interfaceLanguage":"swift"},"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/rawrepresentable-implementations","abstract":[],"title":"RawRepresentable Implementations","role":"collectionGroup","kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/RawRepresentable-Implementations"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/id":{"abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/id","role":"symbol","kind":"symbol","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/id","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"id","kind":"identifier"}],"title":"Components.Schemas.LabelRelease.CodingKeys.id"},"doc://DiscogsService/s23CustomStringConvertibleP":{"identifier":"doc:\/\/DiscogsService\/s23CustomStringConvertibleP","type":"unresolvable","title":"Swift.CustomStringConvertible"},"doc://DiscogsService/s8SendableP":{"identifier":"doc:\/\/DiscogsService\/s8SendableP","type":"unresolvable","title":"Swift.Sendable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/Equatable-Implementations":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/equatable-implementations","abstract":[],"title":"Equatable Implementations","role":"collectionGroup","kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/Equatable-Implementations"},"doc://DiscogsService/s9CodingKeyP":{"identifier":"doc:\/\/DiscogsService\/s9CodingKeyP","type":"unresolvable","title":"Swift.CodingKey"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/status":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/status","abstract":[],"title":"Components.Schemas.LabelRelease.CodingKeys.status","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"status","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/status"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"url":"\/documentation\/discogsservice\/components\/schemas","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"kind":"symbol","title":"Components.Schemas","abstract":[{"type":"text","text":"Types generated from the "},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Schemas"}],"type":"topic"},"doc://DiscogsService/SY":{"identifier":"doc:\/\/DiscogsService\/SY","type":"unresolvable","title":"Swift.RawRepresentable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/catno":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/catno","abstract":[],"title":"Components.Schemas.LabelRelease.CodingKeys.catno","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"catno","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/catno"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/thumb":{"url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/thumb","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/thumb","role":"symbol","kind":"symbol","title":"Components.Schemas.LabelRelease.CodingKeys.thumb","abstract":[],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"thumb","kind":"identifier"}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/year":{"title":"Components.Schemas.LabelRelease.CodingKeys.year","kind":"symbol","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"year","kind":"identifier"}],"url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/year","abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/year","role":"symbol"},"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/Components/Schemas/LabelRelease/CodingKeys/title":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/title","abstract":[],"title":"Components.Schemas.LabelRelease.CodingKeys.title","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"title","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/title"},"doc://DiscogsService/s16SendableMetatypeP":{"identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP","type":"unresolvable","title":"Swift.SendableMetatype"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/resourceUrl":{"abstract":[],"title":"Components.Schemas.LabelRelease.CodingKeys.resourceUrl","type":"topic","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/resourceUrl","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"resourceUrl","kind":"identifier"}],"url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/resourceurl","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/format":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/format","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/format","role":"symbol","abstract":[],"title":"Components.Schemas.LabelRelease.CodingKeys.format","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"format"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/init(intValue:)":{"url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/init(intvalue:)","abstract":[],"kind":"symbol","type":"topic","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"intValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":")","kind":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(intValue:)","title":"init(intValue:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/CodingKey-Implementations":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/codingkey-implementations","abstract":[],"title":"CodingKey Implementations","role":"collectionGroup","kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/CodingKey-Implementations"},"doc://DiscogsService/documentation/DiscogsService/Components":{"url":"\/documentation\/discogsservice\/components","title":"Components","role":"symbol","abstract":[{"type":"text","text":"Types generated from the components section of the OpenAPI document."}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Components","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","navigatorTitle":[{"kind":"identifier","text":"Components"}],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/artist":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/artist","role":"symbol","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"artist"}],"title":"Components.Schemas.LabelRelease.CodingKeys.artist","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/artist","kind":"symbol","type":"topic"},"doc://DiscogsService/s28CustomDebugStringConvertibleP":{"identifier":"doc:\/\/DiscogsService\/s28CustomDebugStringConvertibleP","type":"unresolvable","title":"Swift.CustomDebugStringConvertible"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/init(stringValue:)":{"type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(stringValue:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"stringValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"title":"init(stringValue:)","role":"symbol","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/init(stringvalue:)","abstract":[]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys/init(rawValue:)":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys\/init(rawvalue:)","abstract":[],"title":"init(rawValue:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys\/init(rawValue:)"},"doc://DiscogsService/SQ":{"identifier":"doc:\/\/DiscogsService\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease/CodingKeys":{"kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease\/CodingKeys","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease\/codingkeys","title":"Components.Schemas.LabelRelease.CodingKeys","abstract":[]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/LabelRelease":{"title":"Components.Schemas.LabelRelease","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"LabelRelease","kind":"identifier"}],"url":"\/documentation\/discogsservice\/components\/schemas\/labelrelease","type":"topic","role":"symbol","navigatorTitle":[{"text":"LabelRelease","kind":"identifier"}],"kind":"symbol","abstract":[{"type":"text","text":"A type that represents a release of a label."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/LabelRelease"},"doc://DiscogsService/SH":{"identifier":"doc:\/\/DiscogsService\/SH","type":"unresolvable","title":"Swift.Hashable"}}} |