Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter examples are incorrect #992

Closed
flaksp opened this issue Jul 31, 2019 · 0 comments
Closed

Parameter examples are incorrect #992

flaksp opened this issue Jul 31, 2019 · 0 comments

Comments

@flaksp
Copy link
Contributor

flaksp commented Jul 31, 2019

Some parameters rendering incorrectly:

image

JSON:

{
  "parameters":[
    {
      "description":"Как много ресурсов отобразить.",
      "name":"pagination[count]",
      "required":false,
      "schema":{
        "default":32767,
        "deprecated":false,
        "description":"Количество ресурсов, которое будет выведено.",
        "example":15,
        "minimum":1,
        "nullable":false,
        "readOnly":false,
        "writeOnly":false,
        "type":"integer"
      },
      "in":"query"
    },
    {
      "description":"Количество ресурсов, которое нужно пропустить.",
      "name":"pagination[offset]",
      "required":false,
      "schema":{
        "default":0,
        "deprecated":false,
        "description":"Количество ресурсов, которое нужно пропустить.",
        "example":300,
        "minimum":0,
        "nullable":false,
        "readOnly":false,
        "writeOnly":false,
        "type":"integer"
      },
      "in":"query"
    }
  ]
}

Docker image is redocly/redoc:v2.0.0-rc.12. There weren't such problems in rc.8.

May be relevant to #990.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant