-
Bug
-
Resolution: Done
-
Major
-
None
-
1.15.0.Final
-
None
-
False
-
False
-
-
2022 Week 02-04 (from Jan 10)
Errors such as:
Resolver error at paths./ <modelname> .post.requestBody.content.application/json.schema.$ref
Could not resolve reference: Failed to fetch
Resolver error at paths./ <modelname> .post.responses.default.content.application/json.schema.$ref
Could not resolve reference: Failed to fetch
using specific Kogito DMN Quarkus example like:
Resolver error at paths./Traffic Violation.post.requestBody.content.application/json.schema.$ref
Could not resolve reference: Failed to fetch
Resolver error at paths./Traffic Violation.post.responses.default.content.application/json.schema.$ref
Could not resolve reference: Failed to fetch
Are likely caused by the Swagger-UI not able to dereference when the JSON Schema $ref contains double // (or even triple, etc ///) for path.
To be noted the Swagger Parser (io.swagger.v3.parser.OpenAPIV3Parser) is able to dereference without any issue, and same any browser if you put in the URL bar something like http://localhost:8080//q/openapi (notice the double //)
This seems related to the Swagger-UI spa only.
There is then a problem about serving /dmnDefinitions.json in Dev Mode which occurs only from 1.16.x
- is related to
-
KOGITO-6538 Kogito with Quarkus Dev Mode unable to serve static resources (such as JSON Schema files)
- Resolved
- is triggered by
-
KOGITO-6265 Get kogito.persistence.type from quarkus configuration
- Closed