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
'400':
description: With invalid params responds bad requestcontent:
application/json:
schema:
type: objectproperties:
errors:
type: objectproperties:
base:
type: arrayitems:
type: stringrequired:
- baserequired:
- errorsexample:
errors:
base:
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
- did not contain a required property of 'base'
Swagger-Editor configuration options:
SwaggerEditor({// your config options here})
?yourQueryStringConfig
Describe the bug you're encountering
When exporting a swagger documentation that has long example response, then generate client -> html returns html that contains <code tag that doesn't word wrap. It needs it have style of white-space: pre-wrap;
To reproduce...
Steps to reproduce the behavior:
Import swagger documentation that contains really long response
Generate client -> HTML
Open generated index.html
Example response is overflowing the page in <code> tag
Expected behavior
I expected that generated index.html doesn't require to scroll horizontally to see full response.
Screenshots
Additional context or thoughts
I could probably implement necessary change, but I have no idea where html generate client code lives
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-Editor configuration options:
Describe the bug you're encountering
When exporting a swagger documentation that has long example response, then
generate client
->html
returns html that contains<code
tag that doesn't word wrap. It needs it have style ofwhite-space: pre-wrap;
To reproduce...
Steps to reproduce the behavior:
index.html
<code>
tagExpected behavior
I expected that generated
index.html
doesn't require to scroll horizontally to see full response.Screenshots
Additional context or thoughts
I could probably implement necessary change, but I have no idea where
html
generate client code livesThe text was updated successfully, but these errors were encountered: