Query parameter examples are not displayed
See original GitHub issueBug description
In open api it is possible to set examples how to use certain query parameters. Here is an example shown in the Swagger UI:
The open api document looks similar to this:
"name": "$filter", "in": "query", "allowReserved": true, "schema": { "type": "String" }, "examples": { "Arithmetic Operators": { "description": "Value le 333.333" } ...,
Expected behavior
It would be great if the portal would also display these examples as they are very helpful for users
Is your portal managed or self-hosted?
Managed
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Use parameters to ask for input when running a query
To specify the data type for parameters in a query: With the query open in Design view, on the Design tab, in the...
Read more >drf spectacular not showing query params in swagger ui
I have the following code. @extend_schema( parameters=[ OpenApiParameter(name='category',location=OpenApiParameter.QUERY, description=' ...
Read more >Parameter Serialization - Swagger
OpenAPI 3.0 supports arrays and objects in operation parameters (path, query, header, and cookie) and lets you specify how these parameters should be ......
Read more >Query parameter targeting - Optimize Resource Hub
Equals / does not equal ... Every character in your query parameter, from beginning to end, must be an exact match of the...
Read more >7.4 - Request Format - Google
The following examples show search requests that use the POST command for public ... The query string payload is not part of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @alanwales, yes, that makes sense. Thank you.
Hi Mike,
Cf 1483https://github.com/Azure/api-management-developer-portal/issues/1483
Regards,
Pierre
From: Mike Budzynski @.> Sent: Thursday, 7 October 2021 19:51 To: Azure/api-management-developer-portal @.> Cc: Hody Pierre @.>; Mention @.> Subject: Re: [Azure/api-management-developer-portal] Query parameter examples are not displayed (#610)
@pierrehodyhttps://github.com/pierrehody, could you please open a new issue with clear reproduction steps? Specifically, in addition to already provided details, we need to better understand:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/api-management-developer-portal/issues/610#issuecomment-938020947, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIWKGULMIOVPN5HCZQAIK7TUFXMZVANCNFSM4M7UIDOQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.