OpenAPITools / OpenAPITools/openapi-generator
[BUG] [python-nextgen] The expected error was reported by an internal interceptor, resulting in the failure to obtain the expected error code
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Why make a strong intercept of failed responses? I need to get the response code for the expected failure, but it will be intercepted internally, causing an error to be reported before I get the response error code
openapi-generator version
python-nextgen v6.5.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report identifies python-nextgen v6.5.0 but provides no OpenAPI declaration, generation details, reproduction steps, files, or tests. Start by obtaining a minimal reproducible specification and generation command, then trace how the generated client handles the expected failure response. Done means the expected response code can be obtained without an internal interceptor reporting the failure first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, python
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100