OpenAPI Documentation Duplication Issue with allOf in Swagger UI
I’m working on an OpenAPI 3.0 specification and I’m encountering a problem with the generated documentation in Swagger UI (or any similar tool). Specifically, I’m using the allOf construct to inherit properties from a GenericCategory schema into a ProductCategory schema. The ProductCategory schema has a subcategory property that is also of type GenericCategory.
OpenAPI Documentation Duplication Issue with allOf in Swagger UI
I’m working on an OpenAPI 3.0 specification and I’m encountering a problem with the generated documentation in Swagger UI (or any similar tool). Specifically, I’m using the allOf construct to inherit properties from a GenericCategory schema into a ProductCategory schema. The ProductCategory schema has a subcategory property that is also of type GenericCategory.