Javier Cicchelli 9a157d0569 [Improvement] Amiibo DTO (#21)
This PR contains the work done to improve the `DTO.Amiibo` model, especially with regards on how it renders its image URL. Given this change has a direct impact on the project documentation, both Xcode and Web documentations have been regenerated.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: #21
2023-07-25 07:49:22 +00:00

1 line
3.7 KiB
JSON

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"responseCode"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/amiiboservice\/amiiboclienterror\/responsecode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AmiiboService\/documentation\/AmiiboService\/AmiiboClientError\/responseCode(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The status code of the response is not the expected one, which is "},{"type":"codeVoice","code":".ok"},{"type":"text","text":" ("},{"type":"codeVoice","code":"200"},{"type":"text","text":")."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"responseCode"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"AmiiboClientError.responseCode(_:)","roleHeading":"Case","role":"symbol","symbolKind":"case","externalID":"s:13AmiiboService0A11ClientErrorO12responseCodeyACSicACmF","modules":[{"name":"AmiiboService"}]},"hierarchy":{"paths":[["doc:\/\/AmiiboService\/documentation\/AmiiboService","doc:\/\/AmiiboService\/documentation\/AmiiboService\/AmiiboClientError"]]},"references":{"doc://AmiiboService/documentation/AmiiboService/AmiiboClientError/responseCode(_:)":{"role":"symbol","title":"AmiiboClientError.responseCode(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"responseCode"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"The status code of the response is not the expected one, which is "},{"type":"codeVoice","code":".ok"},{"type":"text","text":" ("},{"type":"codeVoice","code":"200"},{"type":"text","text":")."}],"identifier":"doc:\/\/AmiiboService\/documentation\/AmiiboService\/AmiiboClientError\/responseCode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/amiiboservice\/amiiboclienterror\/responsecode(_:)"},"doc://AmiiboService/documentation/AmiiboService/AmiiboClientError":{"role":"symbol","title":"AmiiboClientError","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"AmiiboClientError"}],"abstract":[{"type":"text","text":"This error definitions represents any error happening while the client makes a request to the remote API and handles the respective response, excluding the decoding of the retrieved data into a particular model."}],"identifier":"doc:\/\/AmiiboService\/documentation\/AmiiboService\/AmiiboClientError","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AmiiboClientError"}],"url":"\/documentation\/amiiboservice\/amiiboclienterror"},"https://www.amiiboapi.com":{"title":"Amiibo API","titleInlineContent":[{"type":"text","text":"Amiibo API"}],"type":"link","identifier":"https:\/\/www.amiiboapi.com","url":"https:\/\/www.amiiboapi.com"},"doc://AmiiboService/documentation/AmiiboService":{"role":"collection","title":"AmiiboService","abstract":[{"type":"text","text":"Ready-to-use service that retrieves decoded entities from any of the "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.amiiboapi.com"},{"type":"text","text":" available endpoints."}],"identifier":"doc:\/\/AmiiboService\/documentation\/AmiiboService","kind":"symbol","type":"topic","url":"\/documentation\/amiiboservice"}}}