avaje/avaje-http

The 1.28 version in gradle cannot correctly generate openapi

kevin70 opened this issue · 1 comments

version: 1.28

Generated:

{
	"openapi" : "3.0.1",
	"info" : {
		"title" : "",
		"version" : ""
	},
	"paths" : {
		
	},
	"components" : {
		"schemas" : {
			
		}
	}
}

I return the version to 1.27 and can generate openapi normally.

The new DocContext cannot work normally under the Gradle. AbstractProcessor.process will be executed repeatedly. The subsequent execution overwrites the previous data. I'm sure that the AbstractProcessor.init function will only be executed once in the Gradle. Maybe we should initialize the DocContext in the init function.

got an example repo I could check?