-
Notifications
You must be signed in to change notification settings - Fork 252
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
Response examples are not appearing #205
Comments
Thanks for reporting @alexandrehtrb. There are a number of bug fixes coming in v1.1.5 that should address your issue. Can you test using canary release |
I was able to reproduce the issue you are seeing. I'll need to check with @blindaa121 to see what the issue might be. |
Hmmm, I think I figured it out...it appears we were only checking for Screen.Recording.2022-08-11.at.2.50.00.PM.mov |
Please install |
I tried the new version and the result was the same as in your video. I also started to have an error in another OpenApi documentation, here is the stack trace:
(I cannot share this OpenApi right now, I will see if I can remove the sensitive parts) |
Can you share only your response example(s)? |
I believe it was this response: responses:
'201':
description: A solicitação com o seu status.
content:
application/json:
schema:
$ref: '#/components/schemas/AfvafafafResult'
example:
id: 45df45a7-a87f-46f1-a632-17f414e051f0
tipo: ZgfaysfJsfkafa
status: Sfhfahajsfha
ff1: 0
ff2: 0
konuln: null
fififi:
nomeIfjasghfkajhsfa: NAME LASTNAME
vadasa:
nome: NAME LASTNAME
documento: 11.111.111/0001-00
dedede:
nome: NAME LASTNAME
documento: 11.111.111/0001-00
permiteAkfoafkoaf: false
valorMin: 180.5
valorMax: 180.5
dataMaxUtc: '0001-01-01T00:00:00+00:00'
moeda: BRL
valor: 180.5
dataWfuifaUtc: '2021-04-24T16:55:27.193Z'
dataOfoaifaUtc: '2021-04-23T16:55:27.193Z'
mofafmoasfa: '11111111111111111111111111111111111111111111111'
erro: null
datauiDwUtc: '2021-04-23T16:55:27.196Z' |
Thanks! I will work on reproducing. By the way...can you share specifically what about the #176 video you would like? |
I think I solved it. Screen.Recording.2022-08-11.at.5.14.18.PM.mov |
I tried the latest version here and it is working nicely! Thanks! |
Describe the bug
Response examples are not appearing for a request; they do appear when I preview my OpenApi in Swagger Editor.
(I presume this feature is available, I searched and found the PR #176 ).
Expected behavior
A response example like the one below should show up:
Current behavior
My response example does not show:
Steps to reproduce
My API config in
docusaurus.config.js
plugin section:My OpenAPI file is available at: https://pastebin.com/n0n4dTu7
Your Environment
The text was updated successfully, but these errors were encountered: