Forum Discussion
paduffy
Occasional Contributor
fehguy
8 years agoStaff
Hi! Thanks for the information. I believe the issue is in the FrameSubscription model:
packetType: description: ... type: array items: { enum: ["UDP", "ICMPV6", "PA", "PAS", "PC", "PCS"] }
Please try changing the items like such:
packetType: description: ... type: array items: type: string enum: ["UDP", "ICMPV6", "PA", "PAS", "PC", "PCS"]
While it is legal in JSON Schema to let the type of an attribute (items in this case) be defined by the enum, it is not supported in the specification. So being explicit with the type: string should solve the problem.
Related Content
- 8 years ago
- 5 years ago
- 5 years ago
Recent Discussions
- 2 days ago
- 2 months ago
- 3 months ago