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
"/post":
post:
tags:
- postsummary: Create a new postdescription: ""requestBody:
$ref: "#/components/requestBodies/PostCreateInputType"responses:
"201":
description: Created post with IDcontent:
text/plain:
example: 923ndwifdfv8723koe29
Library version used:
swagger_dart_code_generator: ^2.10.2
The text was updated successfully, but these errors were encountered:
Hi @mdrideout , please share valid swagger file with 'application/json' etc...
Without these details, I can not guess what bad happens during generation.
This is an issue with the
201
response forPOST
requests.Similar to issue #527
The YAML below creates a dart function with the return types and parameters:
Which should be
... Or a generated type for
application/json:
.Library version used:
swagger_dart_code_generator: ^2.10.2
The text was updated successfully, but these errors were encountered: