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

[Question] Is there a way to omit some openAPI schemas/endpoints? #299

Open
kucher-mx opened this issue Jul 24, 2024 · 1 comment
Open

Comments

@kucher-mx
Copy link

kucher-mx commented Jul 24, 2024

In our project we had all api docs in thunder client, we converted everything to openAPI through postman, and started verifying converted docs, and when we want to get zod from this openAPI file, we are getting everything, is it possible to use some custom field in yaml, that will be present in handlebars template, so we can kinda filter based on this field and get zod only for schemas/endpoints/etc that we need

image

@kucher-mx kucher-mx changed the title Is there a way to omit some openAPI schemas/endpoints? [Question] Is there a way to omit some openAPI schemas/endpoints? Jul 24, 2024
@andenacitelli
Copy link
Contributor

I maintain a package that can handle stripping endpoints: https://github.com/aacitelli/openapi-endpoint-trimmer

It's mentioned in the README.md file of this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants