Skip to content

oav generate-examples not adding LRO headers in samples #1061

@viveksheelsingh

Description

@viveksheelsingh

Hi team,

For a TSP Interface of ArmResourceActionAsync like so (LRO headers reqd = AzureAsync, Location, Retry-After):

Image

TSP compile yields an openAPI.json like so (all 3 headers present):

Image

however, the json sample created for this async action, the sample captures only Location (Azureasync and Rety-after missing):

Image

Should the sample also not capture other headers ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions