swagger-petstore icon indicating copy to clipboard operation
swagger-petstore copied to clipboard

/store/inventory returns 500 server error

Open chrisbartoloburlo opened this issue 1 year ago • 0 comments

When invoked in the following manner, the endpoint returns a 500 server error:

curl \
  --request POST \
  --url 'http://localhost:8080/v3/store/order' \
  --header 'Content-Type: application/json' \
  --data '{"id":456,"petId":456,"quantity":2}' \
  --location \
  --max-redirs 32

curl \
  --request GET \
  --url 'http://localhost:8080/v3/store/order/456' \
  --header 'Content-Type: application/json' \
  --location \
  --max-redirs 32

curl \
  --request GET \
  --url 'http://localhost:8080/v3/store/inventory' \
  --header 'Content-Type: application/json' \
  --header 'api_key: special-key' \
  --location \
  --max-redirs 32

chrisbartoloburlo avatar May 03 '23 06:05 chrisbartoloburlo