Azure / openapi-diff

Command line tool to detect breaking changes between two openapi specifications
MIT License
256 stars 36 forks source link

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

Open mikekistler opened 1 year ago

mikekistler commented 1 year ago

The Breaking Change (Cross-Version) check in PR 21841 fails with an oad runtime exception:

image

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.