When using swagger as API interface document, the following error
If this error occurs, you can take a closer look at the console,
As can be seen from the figure, ambiguous HTTP method for action is an ambiguous HTTP operation method
Check the corresponding controller and you can see that the operation feature [httppost] or [httpget] is not added. If it is added, it will be OK.
Read More:
- How to Solve Internal Server Error: /swagger/v1/swagger.json
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] Chrome submission error: Form submission canceled because the form is not connected
- DataTables warning encountered using DataTables: table id = DataTables_Table_0 – Ajax error. For more information ab
- [Solved] Wwagger error: java.lang.NumberFormatException: For input string: ““
- [Solved] `handle_argument_error‘: ERROR: “rails console“ was called with arguments [“production“]
- Kettle Flash Back Error:The graphical interface cannot be opened. There is an ETI installation problem
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- Wildfly (JBoss) startup error: ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed
- K8S error validating data: ValidationError(Deployment.spec): missing required field selector
- How to Solve Error: failed to load response
- k8s kubernetes ingress error: endpoints “default-http-backend“ not found
- [Solved] flutter Project Error: ScrollController attached to multiple scroll views, Failed assertion: line 109 pos 12
- How to Solve the jump error after Spring Security Login
- QT Error: use of undeclared identifier [How to Solve]
- Swagger-ui.html Open Error: There was an unexpected error (type=Not Found, status=404)
- Vue: How to Solve Error uncaught (in promise) cancel
- [Solved] renren-fast Startup Error: Error creating bean with name ‘scheduleJobController‘
- [Solved] Swagger Error: Whitelabel Error Page status=405
- Node.js operation mysql error Cannot enqueue Handshake after invoking quit