Skip to content

kumuluzee-openapi-mp-maven-plugin #196

Description

@eriskooo

Hello,

I am unable to succesfully generate openapi definition via maven build, generated files json+yaml does not contains any definitions

{
"openapi" : "3",
"info" : {
"title" : "Generated API",
"version" : "1.0"
},
"paths" : { }
}

=======================
my pom.xml

    <dependency>
        <groupId>com.kumuluz.ee.openapi</groupId>
        <artifactId>kumuluzee-openapi-mp-ui</artifactId>
        <version>1.1.2</version>
    </dependency>

    <dependency>
        <groupId>io.swagger.core.v3</groupId>
        <artifactId>swagger-annotations</artifactId>
        <version>2.1.1</version>
    </dependency>

    <plugin>
            <artifactId>kumuluzee-openapi-mp-maven-plugin</artifactId>
            <groupId>com.kumuluz.ee.openapi</groupId>
            <version>1.4.0</version>
            <configuration>
                <outputDirectory>${basedir}/swagger-generated/</outputDirectory>
                <schemaFilename>swagger</schemaFilename>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>generate</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

could you plz help me why maven plugin is unable to find any controller ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions