microsoft / microsoft/typespec

Add cadl-ranch/spector tests that validate the emitters gracefully handle optional/missing response headers

Open
#5,744 0 comments 0 reactions 0 assignees View on GitHub
lib:http-specs
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

We discovered an issue in the C++ emitter, where the generated SDK was not handling response headers which are always supposed to be treated as optional: https://github.com/Azure/autorest.cpp/issues/435

Based on conversation with Laurent, he suggested this is something we can cover in a cadl-ranch test, to make sure all existing (and new) emitters handle missing response headers gracefully.

cc @antkmsft, @lmazuel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.