You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current documentation for endpoint also notes
MetaTagDescription* - String indicating it is required in the response, however in the demo request example to https://apiexamples.vtexcommercestable.com.br/api/catalog_system/pub/category/tree/{categoryLevels} it returns instances with MetaTagDescription = null
Expected behavior
Expect stated response specification to be accurate - either non-nullable String field (Probably hard) or mark MetaTagDescription as String or null in OpenAPI schema and documentaion
Screenshots
If applicable, add screenshots to help explain your problem.
Request to https://apiexamples.vtexcommercestable.com.br/api/catalog_system/pub/category/tree/{2}
The text was updated successfully, but these errors were encountered:
devhmac
changed the title
Catalog API's - GetCategoryTree Type - (pub/category/tree/{categoryLevels}) Nullable
Catalog API's - GetCategoryTree Type - (pub/category/tree/{categoryLevels}) - MetaTagDescription Nullable
Dec 11, 2024
devhmac
changed the title
Catalog API's - GetCategoryTree Type - (pub/category/tree/{categoryLevels}) - MetaTagDescription Nullable
Catalog API's - GetCategoryTree Type - (pub/category/tree/{categoryLevels}) - MetaTagDescription not typesafe (Is Nullable)
Dec 11, 2024
One more addition, appears the Recursive types of GetCategoryTreeChild.children resolves to {}, instead of GetCategoryTreeChild, which I believe is the intended type.
Describe the bug
Current Catalog OpenAPI spec defines MetaTagDescription as a guaranteed String response, however it is nullable.
https://developers.vtex.com/api/openapi/catalog-api
https://github.com/vtex/openapi-schemas/blob/master/VTEX%20-%20Catalog%20API.json
Current documentation for endpoint also notes
MetaTagDescription* - String indicating it is required in the response, however in the demo request example to
https://apiexamples.vtexcommercestable.com.br/api/catalog_system/pub/category/tree/{categoryLevels}
it returns instances with MetaTagDescription = nullExpected behavior
Expect stated response specification to be accurate - either non-nullable String field (Probably hard) or mark MetaTagDescription as String or null in OpenAPI schema and documentaion
Screenshots
If applicable, add screenshots to help explain your problem.
Request to
https://apiexamples.vtexcommercestable.com.br/api/catalog_system/pub/category/tree/{2}
The text was updated successfully, but these errors were encountered: