UNPKG

swagger-decorator

Version:
20 lines (14 loc) 300 B
// @flow import AnotherEntity from "./AnotherEntity"; class Entity { // Comment stringProperty: string = 0; classProperty: Entity = null; rawProperty; @entityProperty({ type: "string", description: "this is property description", required: true }) decoratedProperty; }