dingo / dingo/api-docs

API Blueprint Cannot use Array in Response

Aperta
#23 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
19
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

use `@Response(200, body={"data":[{"id":1, "name":"foo"},{"id":1, "name":"bar"}]})` will give a exception like `Expected PlainValue, got '['`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the @Response(200, body=...) example from the issue and confirm the “Expected PlainValue, got '['” exception. Trace the response-body handling for this annotation; done means an array response is accepted without that exception and the existing behavior remains intact.

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

Valutazione

Ambito
api
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.