Closed SOPHIA2401 closed 1 year ago
@SOPHIA2401 Thanks for providing such a clear and well described issue.
I'll try to find some time this or next week, to look into the logic to try to find the cause of the bug and keep you posted.
@SOPHIA2401 We have found a fix for the unwanted removal of free-form objects in component schemas.
In the next release of openapi-format, this fix will be included.
@SOPHIA2401 We just released openapi-format v1.10.2, which contains this fix.
It took a while, since I was hoping to include another potential issue, but that is no reproducable, so I went ahead and released a new version.
Thanks for reporting the issue and hope openapi-format helps with your OpenAPI organisation.
@thim81, thanks for resolving the issue.
Describe the bug The free-form object described in our yaml file gets lost when applying the
InverseOperationId
filter to various operations.To Reproduce Steps to reproduce the behavior:
{ "inverseOperationIds": ["GetCatIndicesWithIndex"] }
openapi: 3.0.2 info: title: OpenSearch version: '2021-11-23' paths: '/_cat/indices/{index}': get: operationId: GetCatIndicesWithIndex description: 'Returns information about indices: number of primaries and replicas, document counts, disk size, etc.' parameters:
openapi: 3.0.2 info: title: OpenSearch version: '2021-11-23' paths: '/_cat/indices/{index}': get: description: 'Returns information about indices: number of primaries and replicas, document counts, disk size, etc.' operationId: GetCatIndicesWithIndex parameters: