Open magx2 opened 3 weeks ago
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
Here you have code to reproduce it https://github.com/magx2/openapi-maven-plugin-error/commit/7ce0d8c9f7765cc8f4c385aef2bedacd1d25fa21
I found a bug that when an interface has a method named without get prefix it will not show in generated swagger:
This interface
will produce empty schema:
where in my opinion it should have foo field, like this: