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
Currently, when a request is generated via the typescript-fetch client, type: string/format:date parameters include a time component when it should not.
openapi-generator version
openapi-generator-cli-4.0.0-20181126.024631-44
OpenAPI declaration file content or url
swagger: "2.0"info:
title: "Simple Test"paths:
"/get/Simple":
get:
summary: Retrieve List of SimpleoperationId: "get.Simple"responses:
200:
description: OKschema:
$ref: "#/definitions/Simple"definitions:
Simple:
type: objectrequired:
- Nameproperties:
Date:
type: stringformat: date
Description
Currently, when a request is generated via the typescript-fetch client, type: string/format:date parameters include a time component when it should not.
openapi-generator version
openapi-generator-cli-4.0.0-20181126.024631-44
OpenAPI declaration file content or url
Output:
Command line used for generation
openapi-generator generate -i openapi.yaml -l typescript-fetch -c es6.json -o ./typescript-api/
Steps to reproduce
Related issues/PRs
PR #569
Suggest a fix/enhancement
Update template to take substring of ISO date to only include the date portion when format: date
The text was updated successfully, but these errors were encountered: