You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Maven plugin generating wrong openapi version on plugin version 2.2.30 and 2.2.32 #4907
I have the following configuration, where my openapi_template.yml file is a template that specifies openapi: 3.1.0. This works fine on version 2.2.28 but when upgrading to versions 2.2.32 or 2.2.30 the generated file uses openapi: 3.0.1
Issue about "custom" openapi version being overwritten is fixed by #4912. I noticed that you are targeting 3.1.x version (in your template file), in this case you would also need to set the flag openapi31=true to correctly process oas 3.1 constructs and get the correct output. Please also check wiki about 3.1 support
Activity
fix: refs #4907 - fix 'openapi.openapi' field processing for 3.1
fix: refs #4907 - fix 'openapi.openapi' field processing for 3.1
daniel-kmiecik commentedon Jun 12, 2025
Issue about "custom" openapi version being overwritten is fixed by #4912. I noticed that you are targeting 3.1.x version (in your template file), in this case you would also need to set the flag
openapi31=trueto correctly process oas 3.1 constructs and get the correct output. Please also check wiki about 3.1 supportUpdate dependency io.swagger.core.v3:swagger-core-jakarta to v2.2.55 …