Create schemas ref for SearchFilterProperty and NamespaceProperty
neottil opened this issue · 1 comments
neottil commented
In openapi project, adding POST api's /api/2/search/things/count and /api/2/search/things cause the reuse of the schemas searchFilterProperty and namespacesProperty (Line #122 and #124 of things-count.yml and Line #169 and #171 of things.yml) but the schemas aren't prensent in schemas declaration of swagger api-2-index.yml.
This cause incomprensible ref in builded swagger like here $ref: '#/paths/1api121search1things/post/requestBody/content/application~1x-www-form-urlencoded/schema/properties/filter'.
To correct this you need to create the correct schema and refs. I will provide to create a pull request.