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
I have an API where I have several endpoints containing a .../$batch, which result in the following error:
Describe the bug
If the path contains a $, this is not escaped when *.swagger.dart is generated, resulting in an incorrect string.
To Reproduce
openapi: 3.0.0
info:
version: 1.0.0
title: Sample API
description: A sample API to illustrate OpenAPI concepts
paths:
/list/$batch:
post:
description: Returns a list of stuff
responses:
'200':
description: Successful response
I have an API where I have several endpoints containing a .../$batch, which result in the following error:
Describe the bug
If the path contains a $, this is not escaped when *.swagger.dart is generated, resulting in an incorrect string.
To Reproduce
is genertated to (just a part of *.swagger.dart)
Expected behavior
The String in the path in the ChopperService should be escaped:
@Get(path: '/list/\$batch')
Library version used:
swagger_dart_code_generator: 3.0.1
Thank you for your help
The text was updated successfully, but these errors were encountered: