ecyrbe / zodios

typescript http client and server with zod validation

Home Page:https://www.zodios.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support refs in generated openapi specs

tonyxiao opened this issue · comments

Currently, the generated OpenAPI specifications do not support the usage of $ref references. This results in a lack of reusability and maintainability of the specs as it limits the ability to define reusable components and reference them in multiple places.
It would be beneficial to enhance the OpenAPI generation tool to support the usage of $ref references, which would allow for better organization, abstraction, and reuse of common components across the specification.

This is especially helpful for things like autogenerated documentation tool. Notably maybe we can make use of https://github.com/samchungy/zod-openapi to generate the openapi spec.

that would be great

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.