Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extend to-json-schema to add custom handlers #1062

Open
MathurAditya724 opened this issue Feb 22, 2025 · 1 comment
Open

feat: extend to-json-schema to add custom handlers #1062

MathurAditya724 opened this issue Feb 22, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request priority This has priority

Comments

@MathurAditya724
Copy link
Contributor

Can we add custom action handlers in toJsonSchema function? I wanna add a capability to define OpenAPI specs like ref, example, etc in the metadata action. That way I can add the custom handler to process this data and pass it in the Specs.

I am open to working on the PR for this, wanna discuss some ideas and hear your thoughts before moving forward on this.

Ref issue - rhinobase/hono-openapi#61

@fabian-hiller
Copy link
Owner

Great idea! We could also provide an official openapi metadata action. Feel free to discuss your API ideas for the custom handlers here, and once we decide on an API, you are welcome to implement it! 🚀

@fabian-hiller fabian-hiller self-assigned this Feb 23, 2025
@fabian-hiller fabian-hiller added enhancement New feature or request priority This has priority labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority This has priority
Projects
None yet
Development

No branches or pull requests

2 participants