ApiEndpoints.json 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [
  2. {
  3. "ContainingType": "API.Controllers.WeatherForecastController",
  4. "Method": "Get",
  5. "RelativePath": "WeatherForecast",
  6. "HttpMethod": "GET",
  7. "IsController": true,
  8. "Order": 0,
  9. "Parameters": [],
  10. "ReturnTypes": [
  11. {
  12. "Type": "System.String",
  13. "MediaTypes": [
  14. "text/plain",
  15. "application/json",
  16. "text/json"
  17. ],
  18. "StatusCode": 200
  19. }
  20. ]
  21. },
  22. {
  23. "ContainingType": "API.Controllers.WeatherForecastController",
  24. "Method": "Post",
  25. "RelativePath": "WeatherForecast/postNameNeger",
  26. "HttpMethod": "POST",
  27. "IsController": true,
  28. "Order": 0,
  29. "Parameters": [
  30. {
  31. "Name": "name",
  32. "Type": "System.String",
  33. "IsRequired": false
  34. }
  35. ],
  36. "ReturnTypes": [
  37. {
  38. "Type": "System.Void",
  39. "MediaTypes": [],
  40. "StatusCode": 200
  41. }
  42. ]
  43. }
  44. ]