Azure / Azure/openapi-diff

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

Aberta
#271 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
290
Forks
50
Merge médio
5d 13h
PRs com merge (30d)
5

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the Breaking Change (Cross-Version) check from PR 21841 with an example response containing an integer retry-after header. Trace the runtime exception in the openapi-diff tool and verify that the check completes successfully while preserving the integer header value.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
csharp, openapi
Domínio
cli, tooling
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.