ramlo icon indicating copy to clipboard operation
ramlo copied to clipboard

Support enum in schemas

Open prvdph opened this issue 8 years ago • 0 comments

v 0.2.1

For JSON schema like this:

    "gender": {
      "description": "User's gender",
      "type": "string",
      "enum": [ "male", "female", "unspecified" ]
    }

Ramlo produces this:

ramlo-enum

While raml2boot gives this:

boot-enum

prvdph avatar Jul 20 '16 07:07 prvdph