Replace Accept header transform with a swagger fix
See original GitHub issueWe should remove https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/src/autorest.md#set-odatametadata-accept-header-in-operations in favor of setting a global/per-operation produces value in searchservice.json
.
After the https://github.com/Azure/azure-sdk-for-net/pull/14407 is merged.
cc @heaths
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Swagger UI using C# webApi is changing my header ...
The expected outcome from this is a field in Swagger where I can input the deviceGuid and Swagger should consider it as a...
Read more >Swagger 3 adds "origin" header to requests - how can I ...
Yes, Swagger and the API are at the exact same origin (scheme + host + path), and the header is lowercase, that is...
Read more >Describing Responses
Response Headers. Responses from an API can include custom headers to provide additional information on the result of an API call. For example,...
Read more >Describing Request Body
The POST, PUT and PATCH requests can have the request body (payload), such as JSON or XML data. In Swagger terms, the request...
Read more >How to Use Swagger Inspector
If you don't have any authentication, headers, or query parameters to add, press Send. The Send button becomes enabled once you've put a...
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 Free
Top 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
@ShivangiReja Please see this file for the callback where this is handled.
I think we should consider doing this. /cc @Mohit-Chakraborty @tg-msft