Skip to content

Not showing range values in swagger #39

@jdillard

Description

@jdillard

I converted swagger-generator/src/test/resources/simplest.yang, which has an integer with a range of 1 to 4096:

typedef myint1 {
    type int32 {
        range 1..4096;
    }
  }

Although, in the swagger it isn't generating the minimum and maximum values associated with the integer as shown here: https://swagger.io/docs/specification/data-models/data-types/#range.

If anyone has tips on where to look, I can try and submit a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions