mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
615287ccfc
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2 lines
2.6 KiB
Plaintext
2 lines
2.6 KiB
Plaintext
{"_id":"spc_8d15c4d0364e4c3a8604e1a155e0771d","type":"ApiSpec","parentId":"wrk_6bd09cdcf3c543829315b479f359ae48","modified":1632964915257,"created":1632962830813,"fileName":"Smoke Test API server 1.0.0","contents":"openapi: 3.0.0\ninfo:\n title: Smoke Test API server\n version: 1.0.0\nservers:\n - url: http://localhost:1234\ntags:\n - name: Misc\n - name: Auth\n - name: File\npaths:\n /pets/{id}:\n get:\n operationId: echoId\n summary: Echo id\n parameters:\n - name: id\n in: path\n schema:\n type: string\n required: true\n tags:\n - Misc\n responses:\n '200':\n description: A JSON object containing the id\n content:\n application/json:\n schema: \n type: object\n properties:\n id:\n type: string\n /file/dummy.csv:\n get:\n operationId: dummyCsvFile\n summary: Get dummy CSV file\n tags:\n - File\n responses:\n '200':\n description: loaded dummy csv file\n content:\n application/csv:\n schema:\n $ref: '#/components/schemas/File'\n /file/dummy.pdf:\n get:\n operationId: dummyPdfFile\n summary: Get dummy PDF file\n tags:\n - File\n responses:\n '200':\n description: loaded dummy CSV file\n content:\n application/pdf:\n schema:\n $ref: '#/components/schemas/File'\n /auth/basic:\n get:\n operationId: basicAuth\n summary: Make basic auth request\n security:\n - basicAuth: []\n tags:\n - Auth\n responses:\n '200':\n description: successfully authed\n content:\n text/plain:\n schema:\n $ref: '#/components/schemas/String'\n /delay/seconds/{duration}:\n get:\n operationId: delayByDuration\n summary: Delay by seconds\n parameters:\n - name: duration\n in: path\n schema:\n type: integer\n required: true\n tags:\n - Misc\n responses:\n '200':\n description: delayed\n content:\n text/plain:\n schema:\n $ref: '#/components/schemas/String'\ncomponents:\n schemas:\n File:\n type: string\n format: binary\n String:\n type: string\n securitySchemes:\n basicAuth:\n type: http\n scheme: basic\n ","contentType":"yaml"}
|