Skip to content

Add missing null check - #1999

Merged
sdghchj merged 1 commit into
swaggo:v2from
koplas:null-check
Jul 17, 2025
Merged

sdghchj merged 1 commit into
swaggo:v2from
koplas:null-check

Conversation

@koplas

@koplas koplas commented Apr 9, 2025

Copy link
Copy Markdown

Avoid a crash when generating OpenAPI 3 documentation.

Describe the PR
GetSchemaTypePathV3 has a missing nil check, which results in a crash. This looks like an oversight, as different locations have this check in place.

This results in a crash when generating OpenAPI 3 documentation.
@sdghchj
sdghchj merged commit aa81c9a into swaggo:v2 Jul 17, 2025
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

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址