Skip to content

Failure to process schema has resulted in the removal #1256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mreiche opened this issue May 21, 2025 · 1 comment
Open

Failure to process schema has resulted in the removal #1256

mreiche opened this issue May 21, 2025 · 1 comment

Comments

@mreiche
Copy link

mreiche commented May 21, 2025

Describe the bug
When creating the client from a schema, it fails with the following message:

WARNING parsing GET /v1/finding within finding.

Cannot parse response for status code 200 (Could not find reference in parsed models or enums), response will be omitted from generated client

Reference(ref='#/components/schemas/Finding')

Unable to process schema /components/schemas/Finding:

Attempted to generate duplicate models with name "FindingAttribution"

Failure to process schema has resulted in the removal of:
/components/schemas/Finding

OpenAPI Spec File

openapi.json

Desktop (please complete the following information):

  • OS: macOS 15.4.1]
  • Python Version: 3.13.2
  • openapi-python-client version: 0.24.3
@mreiche
Copy link
Author

mreiche commented May 22, 2025

There seems to be an internal conflict of Finding, which creates a model FindingAttribution that clashes with the already defined model FindingAttribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant