Debian Codegraph @

plugins/gnostic-go-generator/examples/v2.0/xkcd/swagger.json

raw symbols SCIP
1 {
2 "swagger": "2.0",
3 "schemes": [
4 "http"
5 ],
6 "host": "xkcd.com",
7 "basePath": "/",
8 "info": {
9 "description": "Webcomic of romance, sarcasm, math, and language.",
10 "title": "XKCD",
11 "version": "1.0.0",
12 "x-apisguru-categories": [
13 "media"
14 ],
15 "x-logo": {
16 "url": "https://api.apis.guru/v2/cache/logo/http_imgs.xkcd.com_static_terrible_small_logo.png"
17 },
18 "x-origin": {
19 "format": "swagger",
20 "url": "https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/xkcd.com/1.0.0/swagger.yaml",
21 "version": "2.0"
22 },
23 "x-preferred": true,
24 "x-providerName": "xkcd.com",
25 "x-tags": [
26 "humor",
27 "comics"
28 ],
29 "x-unofficialSpec": true
30 },
31 "externalDocs": {
32 "url": "https://xkcd.com/json.html"
33 },
34 "securityDefinitions": {},
35 "paths": {
36 "/info.0.json": {
37 "get": {
38 "description": "Fetch current comic and metadata.\n",
39 "responses": {
40 "200": {
41 "description": "OK",
42 "schema": {
43 "$ref": "#/definitions/comic"
44 }
45 }
46 }
47 }
48 },
49 "/{comicId}/info.0.json": {
50 "get": {
51 "description": "Fetch comics and metadata by comic id.\n",
52 "parameters": [
53 {
54 "in": "path",
55 "name": "comicId",
56 "required": true,
57 "type": "number"
58 }
59 ],
60 "responses": {
61 "200": {
62 "description": "OK",
63 "schema": {
64 "$ref": "#/definitions/comic"
65 }
66 }
67 }
68 }
69 }
70 },
71 "definitions": {
72 "comic": {
73 "properties": {
74 "alt": {
75 "type": "string"
76 },
77 "day": {
78 "type": "string"
79 },
80 "img": {
81 "type": "string"
82 },
83 "link": {
84 "type": "string"
85 },
86 "month": {
87 "type": "string"
88 },
89 "news": {
90 "type": "string"
91 },
92 "num": {
93 "type": "number"
94 },
95 "safe_title": {
96 "type": "string"
97 },
98 "title": {
99 "type": "string"
100 },
101 "transcript": {
102 "type": "string"
103 },
104 "year": {
105 "type": "string"
106 }
107 },
108 "type": "object"
109 }
110 }
111 }