Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #1339
Closed
Open
Issue created Oct 29, 2018 by Administrator@rootContributor

[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
  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 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

Assignee
Assign to
Time tracking