openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 1.88 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":"clickup20","version":"1.0.0","x-logo":{"url":"https://clickup.com/favicons/apple-touch-icon.png"},"x-origin":[{"format":"swagger","url":"https://jsapi.apiary.io/apis/clickup20.source","version":"2.0"}],"x-providerName":"clickup.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-06-15T13:47:51.943Z","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-06-15T13:47:51.943Z","question":"Favourite programming language?"}}}}},"description":"Created","headers":{"Location":{"schema":{"type":"string"}}}}},"summary":"Create a New Question","tags":[]}}},"components":{"schemas":{"Questions_Collection":{}}}}