openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 2.03 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://polls.apiblueprint.org"}],"info":{"description":"Polls is a simple API allowing consumers to view polls and vote in them.","title":"shipstation","version":"1.0.0","x-apisguru-categories":["ecommerce"],"x-logo":{"url":"https://twitter.com/ShipStation/profile_image?size=original"},"x-origin":[{"converter":{"url":"https://github.com/mermade/oas-kit","version":"7.0.4"},"format":"openapi","url":"https://shipstation.docs.apiary.io/api-description-document","version":"3.0"}],"x-providerName":"shipstation.com"},"tags":[],"paths":{"/questions":{"get":{"description":"","operationId":"List All Questions","responses":{"200":{"content":{"application/json":{"examples":{"response":{"value":[{"choices":[{"choice":"Swift","votes":2048},{"choice":"Python","votes":1024},{"choice":"Objective-C","votes":512},{"choice":"Ruby","votes":256}],"published_at":"2025-04-15T13:50:53.832Z","question":"Favourite programming language?"}]}}}},"description":"OK","headers":{}}},"summary":"List All Questions","tags":[]},"post":{"description":"You may create your own question using this action. It takes a JSON\nobject containing a question and a collection of answers in the\nform of choices.","operationId":"Create a New Question","requestBody":{"content":{"application/json":{"schema":{"example":{"choices":["Swift","Python","Objective-C","Ruby"],"question":"Favourite programming language?"},"properties":{"choices":{"items":{"type":"string"},"type":"array"},"question":{"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"examples":{"response":{"value":{"choices":[{"choice":"Swift","votes":0},{"choice":"Python","votes":0},{"choice":"Objective-C","votes":0},{"choice":"Ruby","votes":0}],"published_at":"2025-04-15T13:50:53.832Z","question":"Favourite programming language?"}}}}},"description":"Created","headers":{"Location":{"schema":{"type":"string"}}}}},"summary":"Create a New Question","tags":[]}}},"components":{"schemas":{"Questions_Collection":{}}}}