Azure / Azure/openapi-diff

oad runtime exception caused by retry-after header with integer value

Aperta
#271 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
290
Fork
50
Merge medio
5g 13h
PR unite (30g)
5

Descrizione

The [Breaking Change (Cross-Version) check in PR 21841](https://github.com/Azure/azure-rest-api-specs/pull/21841/checks?check_run_id=11184536197) fails with an oad runtime exception:

![image](https://user-images.githubusercontent.com/85643503/217629767-0b5df2b2-c8f7-4a5e-b244-0d184ffed2a8.png)

Through local experimentation I found that the runtime exception is caused by examples that contain a `retry-after` header in the response with an integer value.

The `retry-after` header is defined in the REST API as `type: integer, format: int32` so it makes sense to specify it in the example as an integer value.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.