Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cover every public API in the Demo app

Aperta
#468 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
testing

Direzione di ricerca

Read the Demo app flows and compare their API calls with the public API list in this issue, starting with the Files namespace added in #401. The issue proposes one screen or flow per API group and separate pull requests; the first Files screen depends on #401. Done means the Demo exercises each public API group against the live service, with coverage for new API surface arriving alongside it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The Demo app is currently the only way to exercise the package end to end against the live API: the test suite uses mocked sessions only, and CI doesn't build the Demo. Several public APIs aren't used by the Demo at all, so nothing ever runs them against the real service.

The goal is for the Demo to exercise every public API, so that a change can be checked end to end before release, and for new API surface to arrive together with its Demo coverage.

Not covered today

As of main after 0.5.3, the Demo doesn't call:

  • Embeddings: embeddings(query:)
  • Models: model(query:) (retrieving a single model; models() is used)
  • Images: imageVariations(query:)
  • Audio:
    • audioCreateSpeechStream(query:)
    • audioTranscriptions(query:), audioTranscriptionsVerbose(query:), audioTranscriptionStream(query:)
    • audioTranslations(query:)
  • Files: the openAI.files namespace from #401 (create, retrieve, list, delete, content). The Demo only uploads through the deprecated files(query:), for Assistants.
  • Batch API (#465), once it exists

The Assistants API isn't listed: it's planned to be removed from both the package and the Demo.

Approach

One Demo screen or flow per API group, each in its own pull request. The Files screen is the first, stacked on #401.

Lingua principale
Swift
Stelle
2.9k
Fork
519
Merge medio
4g 9h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MacPaw/OpenAI

Tutte le issue di MacPaw/OpenAI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.