-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[API Explorer] Fields shown but ignored #1470
Comments
This is tricky to address, it requires us to emit different OpenAPI schema for different REST endpoints - see #1179. |
Let's open a new issue to discuss the following points:
|
Discussed with @raymondfeng , both this task and the spike task that @jannyHou is going to create will be |
Hello, I have a similar issue, I don't know if it's related or not, that is why I haven't open a new issue yet. I followed the Todo tutorial and generated the CRUD controller with the cli. In the API Explorer, when I try the GET There is the same issue with the fields filter. |
This is a limitation of API Explorer and the OpenAPI spec in general :( Please refer to the discussion in #1679 for more details, see also swagger-api/swagger-js#1385 |
Now that #3297 is landed, the |
Description / Steps to reproduce / Feature proposal
From #1206
For
examples/todo
, in the API Explorer, clicking on theTry it Out
showsid
(with a default value of0
) as an option for all requests but the field is ignored by some calls such asPOST
for creating a newid
. Remove this field from the API explorer for calls that do not honour it.Current Behavior
id
field is shown for all requests and ignored by some of the REST calls.Expected Behavior
id
field and others only show in API Explorer for REST calls that will honour the Call.See Reporting Issues for more tips on writing good issues
The text was updated successfully, but these errors were encountered: