httpbin.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "openapi": "3.0.0",
  3. "info": {
  4. "contact": {
  5. "email": "me@kennethreitz.org",
  6. "responsibleDeveloper": "Kenneth Reitz",
  7. "responsibleOrganization": "Kenneth Reitz",
  8. "url": "https://kennethreitz.org"
  9. },
  10. "description": "A simple HTTP Request & Response Service.<br/> <br/> <b>Run locally: </b> <code>$ docker run -p 80:80 kennethreitz/httpbin</code>",
  11. "title": "httpbin.org",
  12. "version": "0.9.2"
  13. },
  14. "paths": {
  15. "/get": {
  16. "get": {
  17. "produces": [
  18. "application/json"
  19. ],
  20. "responses": {
  21. "200": {
  22. "description": "The request's query parameters."
  23. }
  24. },
  25. "summary": "The request's query parameters.",
  26. "tags": [
  27. "HTTP Methods"
  28. ]
  29. }
  30. },
  31. "/post": {
  32. "post": {
  33. "produces": [
  34. "application/json"
  35. ],
  36. "responses": {
  37. "200": {
  38. "description": "The request's POST parameters."
  39. }
  40. },
  41. "summary": "The request's POST parameters.",
  42. "tags": [
  43. "HTTP Methods"
  44. ]
  45. }
  46. },
  47. "/json": {
  48. "get": {
  49. "produces": [
  50. "application/json"
  51. ],
  52. "responses": {
  53. "200": {
  54. "description": "An JSON document."
  55. }
  56. },
  57. "summary": "Returns a simple JSON document.",
  58. "tags": [
  59. "Response formats"
  60. ]
  61. }
  62. },
  63. "/uuid": {
  64. "get": {
  65. "produces": [
  66. "application/json"
  67. ],
  68. "responses": {
  69. "200": {
  70. "description": "A UUID4."
  71. }
  72. },
  73. "summary": "Return a UUID4.",
  74. "tags": [
  75. "Dynamic data"
  76. ]
  77. }
  78. }
  79. }
  80. }