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

Issue with Example Value Model output #57

Closed
JonBishopFox opened this issue Feb 23, 2022 · 2 comments
Closed

Issue with Example Value Model output #57

JonBishopFox opened this issue Feb 23, 2022 · 2 comments

Comments

@JonBishopFox
Copy link

JonBishopFox commented Feb 23, 2022

Hi @kminami,

I found something interesting and I could not figure out why the body of the form is wrapped in an array.

In my api.md
Screen Shot 2022-02-23 at 3 22 24 PM

The output in JSON
Screen Shot 2022-02-23 at 3 22 05 PM

Is there a solution for this issue?

I expect the response body should be:

[
  "example1.com",
  "example2.com"
]
@kminami
Copy link
Owner

kminami commented Mar 2, 2022

Thank you for reporting!
It's just a bug around example and fixed at v1.14.1.
Please confirm.

@kminami
Copy link
Owner

kminami commented Mar 24, 2022

Confirmed at #42 (comment)

@kminami kminami closed this as completed Mar 24, 2022
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

No branches or pull requests

2 participants