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

Example dissapear #6221

Closed
SurapatNJ opened this issue Jul 10, 2020 · 1 comment
Closed

Example dissapear #6221

SurapatNJ opened this issue Jul 10, 2020 · 1 comment

Comments

@SurapatNJ
Copy link

#5095 # Q&A (please complete the following information)

  • OS: [Window]
  • Browser: [Chrome]
  • Version: [22]
  • Method of installation: [npm]
  • Swagger-UI version: [3.10.0]
  • Swagger/OpenAPI version: [Swagger 2.0]

Content & configuration

"/API/login" : {
  "post" : {
    "tags":["authentication"],
    "consumes" : [ "application/json" ],
    "produces" : [ "text/html" ],
    "parameters" : [ {
      "in" : "body",
      "name" : "body",
      "required" : true,
      "schema" : {
        "$ref" : "#/definitions/Model15"
      },
      "x-examples" : {
        "application/json" : "{\n    \"username\" : \"admin\",\n    \"password\" : \"1234\"\n}"
      }
    } ],
    "responses" : {
      "200" : {
        "description" : "Definition generated from Swagger Inspector",
        "schema" : {
          "type" : "string"
        }
      }
    }
  }
},

Screenshots

image

How can we help?

I want to know the reason x-examples is not showing up on the site

@hkosova
Copy link
Contributor

hkosova commented Jul 10, 2020

Duplicate of #3233.

@hkosova hkosova closed this as completed Jul 10, 2020
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

2 participants