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
Generate the anonymity request body, similar to how it would be created by JavaScript generators.
Or from the current test case, it should generate the object with some index likes object0 or something else as default.
Actual results
Generate a file named object.dart and a Object class with pets property without any identifier.
Dart SDK version: 3.5.4 (stable) (Wed Oct 16 16:18:51 2024 +0000) on "macos_arm64"
Packages version
swagger_parser: ^1.19.2
The text was updated successfully, but these errors were encountered:
SuicaLondon
changed the title
In the version of 3.0, if we define requestBody with inline object schema, it will generate a object.dart file
For the swagger 3.0, if we define requestBody with inline object schema, it will generate a object.dart file
Nov 29, 2024
Steps to reproduce
dart run swagger_parser
Expected results
Generate the anonymity request body, similar to how it would be created by JavaScript generators.
Or from the current test case, it should generate the object with some index likes
object0
or something else as default.Actual results
Generate a file named
object.dart
and aObject
class withpets
property without any identifier.Your OpenApi snippet
Code sample
Code sample
[Paste your code here]
Logs
Logs
[Paste your logs here]
Dart version and used packages versions
Dart version
Dart SDK version: 3.5.4 (stable) (Wed Oct 16 16:18:51 2024 +0000) on "macos_arm64"
Packages version
swagger_parser: ^1.19.2
The text was updated successfully, but these errors were encountered: