-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
Describe the bug
When describing hal links (http://stateless.co/hal_specification.html) (as property), their naming convention defers from other properties:
e.g. _links
, _embedded
, _metadata
https://tools.ietf.org/html/draft-kelly-json-hal-08
To Reproduce
e.g.
title: Items
type: object
properties:
_links:
$ref: "#/components/schemas/LinksDefinition"
results in
*ERROR* in model Items '_embedded' -> property should be in camelCase
*ERROR* in model Items '_links' -> property should be in camelCase
*ERROR* in model Items '_metadata' -> property should be in camelCase
Expected behavior
No error raised for HAL links specific keywords (i.e._links
, _embedded
, _metadata
) as we have no control over their naming
michelecurioni