Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve multline description handling #172

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

scarf005
Copy link
Contributor

@scarf005 scarf005 commented Jul 2, 2023

Summary

Detail

when

description: `foo
	bar
baz`

withDescription: true

output:

z.describe(`foo bar baz`)

withDescription: "multiline"

output:

z.describe(`foo
	bar
baz`)

@vercel
Copy link

vercel bot commented Jul 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openapi-zod-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2023 8:10am

@astahmer
Copy link
Owner

astahmer commented Jul 2, 2023

my bad I just noticed the notification for this PR, could you resolve the conflicts so I can merge ? also, can you add a changeset ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

only first newline is truncated from schema description
2 participants