makes a few additional replacements in the generated code.processes the swagger json using my custom build of openapi-generator-cli and my new templates (also in this repo under openapi_mattermost_templates).Also, I have created my own build script ( codegen.py) that does the following: I have resolved these problems by forking the openapi-generator-cli here to change the Dart code generator Java class and templates. Since there are problems with the automatic code generation, it’s better and safer to wrap the auto-generated code in a library we control. The generated code expects that we want the entire library to be automatically generated, and it creates a pubspec.yaml and everything.The generated code fails to properly recognize empty OpenAPI object types as a Map and treats them as Object instead.The generated code sometimes attempts to return objects of the wrong type.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |