-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Describe the bug
In generated files Jetbrains Goland Code Analyzer detects warnings:
in JSON file:
Warning: Missing required property 'version'
in this block:
"info": {
"title": "api",
"contact": {}
},in YAML file:
Warning: Schema validation: Missing required property 'version'
in this block:
info:
contact: {}
title: apiTo Reproduce
Steps to reproduce the behavior:
- Generate JSON/YAML files via swag
- In Goland open Problems tab, then Code Analysis
- See warnings list
Expected behavior
No warnings
Your swag version
v1.16.4
Your go version
go1.25
Desktop (please complete the following information):
- OS: windows/amd64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels