Skip to content

The 1.28 version in gradle cannot correctly generate openapi #174

Closed
@kevin70

Description

@kevin70
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions