Warnings in management-api documentation lead to incorrectly generated clients #4115
Labels
documentation
Improvements or additions to documentation
stale
Open for x days with no activity
triage
all new issues awaiting classification
Bug Report
Describe the Bug
Warnings:
These warnings show up when the eclipse-edc-bot-management-api-0.6.0-resolved.yaml (Source: swaggerhub.com) is used with the openAPI-Generator (JAR Version 7.4.0) and the command "validate".
Similar warnings also show up on swaggerhub.com:
Line 2170, Definition was declared but never used in document
Line 2190, Definition was declared but never used in document
Expected Behavior
No warnings in the management-api document about unused models
Observed Behavior
Warnings:
Context Information
Warnings in versions:
Detailed Description
When trying to generate a python client with the openAPI-generator and the above mentioned management-api document, errors are present in the generated client. The errors are syntax errors and are linked to the JsonArray and JsonValue classes.
If the definitions of JsonArray, JsonValue and JsonObject are removed from the management-api document these syntax errors are not generated in the python client.
The text was updated successfully, but these errors were encountered: