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
As part of the company's internal project: Adroly's developement we've started working on a tool that can automate the api schema valiation.
It uses zod and ts-to-zod packages to parse through a folder containing models generated from an openapi schema.json file. For each file and model it finds, it builds a zod schema that can validate the shape of that used in that model.
The tool could be used to validate both request and response schemas.
Later on we could incorporate this tool into a more robust CLI that uses ng-openapi-gen with our tool in the background as well as another tool that could generate @ngrx/entity stores for the various api client services. This Cli tool would require a set of configurations as inputs to be present in the project's folder. And would output a ready made set of features that can be used in the components of the consuming application project.
This should be a new package published to npm.
The text was updated successfully, but these errors were encountered:
As part of the company's internal project: Adroly's developement we've started working on a tool that can automate the api schema valiation.
It uses zod and ts-to-zod packages to parse through a folder containing models generated from an openapi schema.json file. For each file and model it finds, it builds a zod schema that can validate the shape of that used in that model.
The tool could be used to validate both request and response schemas.
Later on we could incorporate this tool into a more robust CLI that uses ng-openapi-gen with our tool in the background as well as another tool that could generate @ngrx/entity stores for the various api client services. This Cli tool would require a set of configurations as inputs to be present in the project's folder. And would output a ready made set of features that can be used in the components of the consuming application project.
This should be a new package published to npm.
The text was updated successfully, but these errors were encountered: