Skip to content

[RUST] I don't understand this "Could not process model" error #1339

@dvaerum

Description

@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
  1. Download the mattermost-openapi-v4.yaml file
  2. Run the command
Related issues/PRs

The only case I could find with a similar error is here #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions