39e9dc5d53
This PR contains the rock done to securize the /GET `/oauth/identity` endpoints on the OpenAPI specification document, plus it also improves the endpoints ordering in the *Database* section. Reviewed-on: #10 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
6.8 KiB
JSON
1 line
6.8 KiB
JSON
{"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"mainRelease"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"mainReleaseUrl"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"versionsUrl"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"role":"symbol","modules":[{"name":"DiscogsService"}],"title":"init(mainRelease:mainReleaseUrl:versionsUrl:)","externalID":"s:14DiscogsService10ComponentsO7SchemasO6MasterV13Value2PayloadV11mainRelease0hI3Url08versionsJ0AISiSg_SSSgANtcfc","symbolKind":"init"},"abstract":[{"text":"Creates a new ","type":"text"},{"code":"Value2Payload","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"mainRelease"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"mainReleaseUrl"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"versionsUrl"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil)"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"mainRelease","content":[{"inlineContent":[{"type":"text","text":"An identifier of the main release for this master."}],"type":"paragraph"}]},{"name":"mainReleaseUrl","content":[{"inlineContent":[{"type":"text","text":"A URL link of the main release for this master."}],"type":"paragraph"}]},{"name":"versionsUrl","content":[{"inlineContent":[{"type":"text","text":"A URL link to the versions of this master."}],"type":"paragraph"}]}]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master\/Value2Payload\/init(mainRelease:mainReleaseUrl:versionsUrl:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master\/Value2Payload"]]},"variants":[{"paths":["\/documentation\/discogsservice\/components\/schemas\/master\/value2payload\/init(mainrelease:mainreleaseurl:versionsurl:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Schemas","kind":"identifier"}],"title":"Components.Schemas","navigatorTitle":[{"text":"Schemas","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","kind":"symbol","url":"\/documentation\/discogsservice\/components\/schemas","abstract":[{"type":"text","text":"Types generated from the "},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"role":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Master/Value2Payload":{"title":"Components.Schemas.Master.Value2Payload","kind":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Value2Payload"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Value2Payload"}],"url":"\/documentation\/discogsservice\/components\/schemas\/master\/value2payload","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master\/Value2Payload","type":"topic","role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Master/Value2Payload/init(mainRelease:mainReleaseUrl:versionsUrl:)":{"role":"symbol","type":"topic","abstract":[{"text":"Creates a new ","type":"text"},{"code":"Value2Payload","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","title":"init(mainRelease:mainReleaseUrl:versionsUrl:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master\/Value2Payload\/init(mainRelease:mainReleaseUrl:versionsUrl:)","url":"\/documentation\/discogsservice\/components\/schemas\/master\/value2payload\/init(mainrelease:mainreleaseurl:versionsurl:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"mainRelease","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"mainReleaseUrl","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"versionsUrl","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Master":{"navigatorTitle":[{"text":"Master","kind":"identifier"}],"role":"symbol","type":"topic","abstract":[{"text":"A type that represents a set of similar releases.","type":"text"}],"kind":"symbol","title":"Components.Schemas.Master","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Master","url":"\/documentation\/discogsservice\/components\/schemas\/master","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Master"}]},"doc://DiscogsService/documentation/DiscogsService":{"type":"topic","role":"collection","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","title":"DiscogsService","abstract":[],"url":"\/documentation\/discogsservice","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components":{"title":"Components","kind":"symbol","abstract":[{"text":"Types generated from the components section of the OpenAPI document.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Components"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Components","kind":"identifier"}],"url":"\/documentation\/discogsservice\/components","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","type":"topic","role":"symbol"}}} |