You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/order:
post:
summary: Создает заказ-нарядoperationId: CreateOrderrequestBody:
$ref: '#/components/requestBodies/CarCodeBody'responses:
'201':
description: Заказ успешно созданheaders:
Location:
schema:
$ref: '#/components/schemas/OrderId'description: Уникальный идентификатор заказа'404':
description: Код клиента или машина не найдены
Expected behavior
A resulting model exposes a Headers property with all returned headers
Actual behavior
No way to get headers
Related information
1.0.0-Beta1
The text was updated successfully, but these errors were encountered:
A resulting model exposes a Headers property with all returned headers
I do not think that we should mess up all models with Header properties. We need to correctly identity the location of the response from server (body or header) and correctly deserialize response from there.
Current implementation of OpenApiClientProvider support only Json responses.
Description
Expected behavior
A resulting model exposes a
Headers
property with all returned headersActual behavior
No way to get headers
Related information
1.0.0-Beta1
The text was updated successfully, but these errors were encountered: