Open
Description
When generating a client where response body is empty I'm not able to get the response object to check headers when needed.
Example
openapi: "3.0.0"
info:
version: 1.0.0
title: Swagger Petstore
license:
name: MIT
servers:
- url: http://petstore.swagger.io/v1
paths:
/pets/{petId}:
parameters:
- name: petId
in: path
required: true
description: The id of the pet
schema:
type: string
put:
summary: Create a pet
operationId: createPet
tags:
- pets
responses:
'204':
description: No content
headers:
x-foo:
description: Something important
schema:
type: string
Is there any other way to get response object after executing request in api clients?