KnpJsonSchemaBundle icon indicating copy to clipboard operation
KnpJsonSchemaBundle copied to clipboard

How to exclude attributes not mapped with doctrine/Assert annotations

Open brayansdt opened this issue 10 years ago • 1 comments

Hey people, first of all, congratulations for your job, because you're all helping me so much. By the way, I wanna know how to exclude some attributes that should not be on my jsonschema, because I made some properties to maintain internal operations without getters and setters. Could you help me?

brayansdt avatar Jul 28 '15 13:07 brayansdt

There is an @Ignore annotation you can use to exclude a field.

stanlemon avatar Jul 28 '15 14:07 stanlemon