Azure / Azure/openapi-diff

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

Offen
#271 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
290
Forks
50
Ø Merge
5 T. 13 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.