[RUST] I don't understand this "Could not process model" error
Created by: dvaerum
Description
I am trying to create a rust lib client for MatterMost using openapi-generator as a base, but I keep running in to this error with I understand nothing of
Could not process model 'inline_object_43'.Please make sure that your schema is correct!
and I have no idea what to do, can someone point me in the right direction. Plz keep in mind that I am new to openapi and this tool
openapi-generator version
I encounter the problem in version 3.3.1 and 4.0.0-SNAPSHOT
OpenAPI declaration file content or url
The OpenAPI file can be found here or direct link
Command line used for generation
I just select the language rust and file mattermost-openapi-v4.yaml
java -jar openapi-generator-cli.jar generate -g rust -i mattermost-openapi-v4.yaml -o test
Steps to reproduce
- Download the mattermost-openapi-v4.yaml file
- Run the command
Related issues/PRs
The only case I could find with a similar error is here https://github.com/OpenAPITools/openapi-generator/issues/409 and I still don't understand how that error is used to find the problem
Suggest a fix/enhancement
Better error description, maybe link to documentation