Skip to content
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

fix: crash when no response mediaType #1109

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

donocode
Copy link
Contributor

Status

READY

Description

Our use of orval started to break because a response like:

ok:
  description: Return file location
  headers:
    Location:
      description: Temporary URI where the file can be found
      schema:
        type: string
        format: uri

appeared in our openapi file. I was able to track it to this attempt to use a possibly undefined object

Related PRs

N/A

Todos

  • Tests
  • Documentation
  • Changelog Entry (unreleased)

Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here.

> git pull --prune
> git checkout <branch>
> grunt jasmine

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@melloware melloware added the bug Something isn't working label Dec 11, 2023
@melloware melloware added this to the 6.23.0 milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants