quarkus: Open API produces invalid document
Describe the bug The generated openapi document misses several schema elements eg. /components/schemas/MapStringBoolean
Expected behavior Openapi document should be consistent without any errors.
Actual behavior Swagger UI shows errors stating that schema references are missing:
Resolver error at paths./admin/api/users.get.responses.200.content.application/json.schema.items.properties.access.$ref
Could not resolve reference: Could not resolve pointer: /components/schemas/MapStringBoolean does not exist in document
Generated File: openapi_inconsistent.txt
To Reproduce I do not know exactly which stuff will be missing and why. I am using keycloak API classes and there the error occured. Document has been ok with Quarkus Version 1.10
Screenshots

Environment (please complete the following information):
- Output of
java -version: openjdk version “11.0.2” 2019-01-15 - Quarkus version or git rev: 1.11.FINAL
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (12 by maintainers)
Seems like another scenario not handled properly… @felipewind - would you mind opening an issue in smallrye-open-api?
@gsmet - @MikeEdgar have a fix for this, should we try and get it into 1.12.0.Final ?
Thanks for clarifying @phillip-kruger ! I assumed it made it in the release, but it was just close timing.
#14670 is not included in 1.11.2.Final, but will be in 1.12.0.Final. So if you can, you can try against master.