Skip to content

Not get methods in interfaces #135

@magx2

Description

@magx2

I found a bug that when an interface has a method named without get prefix it will not show in generated swagger:

This interface

public interface NoGetInterface {
    String foo();
}

will produce empty schema:

components:
  schemas:
    NoGetInterface:
      type: object

where in my opinion it should have foo field, like this:

components:
  schemas:
    NoGetInterface:
      type: object
      properties:
        foo:
          type: string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions