From 4156c755553ab6334646da9dc421273f82fc78ba Mon Sep 17 00:00:00 2001 From: Etienne Donneger Date: Mon, 27 May 2024 18:01:43 -0400 Subject: [PATCH] Fill additional information to OpenAPI spec Information such as API version, license and summary were missing in the generated OpenAPI spec. --- bun.lockb | Bin 150440 -> 150849 bytes src/typespec/openapi3.tsp | 16 ++++++++++++---- tsp-output/@typespec/openapi3/openapi.json | 7 ++++++- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/bun.lockb b/bun.lockb index 7e5a13a68db599a8aa1ff1c3f1ea14b960561271..b2af5d74d7265183cdf344b95374e20b5ff36025 100755 GIT binary patch delta 22745 zcmeHvcXU-n_x71fF60m(gqjdAgdQLvg^*wfmmtzXQIH}nKp+>=6M9KdQLz#ZItbE1 z2t|y5ktReyQ3M18K}BE077&%!-r)BOk1JL9N!N8NKXU`MTGRGvR8X#F0*0Pv!!Vc@Ue zDlDi8oDT-Y{DQHm$!U{dW+RwX0~M*sx#8o}k|&tp>wv!oMOqsR>p0*8Kz4K+1_}iZ z!2s-VVs1+ASoHG{l!Cw~p)(rN8dx8g1v&9H%%U!E1KQOv@?i-IArK5fFKo~W*btZs zIR`id^Xazf$!Tfc+&p6^czS9l+*S|h%nZXPrzMX|*$g=iT@2&|9s^Q;DcaovoDYPk zAR7JG^+92@HQg1GpMW)_-J>uE&Mzw`B`?pLlCuzFphZDj)N=tkLP?pEGa;9{4OI8j zqvA8b8rM+I;Z_0JPjk$PcoKS?|LZ{d^9t(O?}tG2+oWJ@ns>4n9h7479N<43Z*{B` zGITN2|7`eLa3P0z1ZdZ5a}vSRoG6VAfpq_PZ^pRr$yr8UxR~Z7S;duF<~w5_gQIBN zAs~Az2GW;jn;J%KAc7=wDyEy>O!@jKiQkf_hU3ZjSe`#QZzv17UYBHvZZRgN7r`(a=>R` z00-OygV|xJoIh`J^bSg12|U|f(H?sP$cgRJ6ZkaF zFv2;&1_RhP-f8J6h~6dOIcy=23pfu*v;Hd0 zMCy2M4rHV>PE=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n!FT=wAles-}Uoo+3^5233f6H(ht0`&WoBZ6kcev zV8qE=nGWq|D8qSm)B4!G-aSve^rt;oyDC)fI&gI)H|bB#KZx70vZ=w%&kppV!T;&w zzq~S@>yH`qDT3pVD^kh|J>+NcwTwChcj)Q+ zYbQt-iw+?s-j@dtAqwT_2AacuR0 zQ>f9my<)lKF!arpN1y?BzjH(@rTd78iFMv<6|{eW`RToz*4eFi2w^yHzWV5a7MDBS z@qjv4vS)Lj%sB$XY_*O)`TY?L_k=XxLruJ#{eh_GW~z*n|9ubH;p>UA)lt!xhfvdw ziVW8e6Xj<|MWD-XlDr6h1Ls9o|M3LQ4GS8DphCv?@M&#XwjBFDBsXNsneXFKb48Ba z06N5Zx7D<;gR>s~CiMJON7$=7Mx2xNj)|B!=iOK%_qII~G^=HQ$mv_#7r4#TME2P| zrR68zmGtIerG3;JZT$79GeB-QhI7X2&pYMs$FK=gLv75VI&aIG6Y{~_h9w{MswwWm z0ViuprpUt|h`OOHJMY-qQho5z!4DP&UzM^|1u2aVa;c_)A?x$?Cgl5j59Q8Ug;cJ0 z3dU(UysoZBmE_&Wk)!AJas4VoySQp^Kit`Mmyl(3#lrsujmj0O diff --git a/src/typespec/openapi3.tsp b/src/typespec/openapi3.tsp index 32356b1..ad52516 100644 --- a/src/typespec/openapi3.tsp +++ b/src/typespec/openapi3.tsp @@ -1,11 +1,19 @@ import "@typespec/http"; +import "@typespec/openapi"; import "./models.tsp"; using TypeSpec.Http; - -@service({ - title: "Antelope Token API", -}) +using TypeSpec.OpenAPI; + +@service({ title: "Antelope Token API" }) +@info({ + summary: "Tokens information from the Antelope blockchains, powered by Substreams", + license: { + name: "MIT", + url: "https://github.com/pinax-network/antelope-token-api/blob/4f4bf36341b794c0ccf5b7a14fdf810be06462d2/LICENSE" + }, + version: "3.0.0" +}) // From @typespec/openapi namespace AntelopeTokenAPI; // Error codes adapted from https://github.com/pinax-network/golang-base/blob/develop/response/errors.go diff --git a/tsp-output/@typespec/openapi3/openapi.json b/tsp-output/@typespec/openapi3/openapi.json index 13ccea5..d3d1f12 100644 --- a/tsp-output/@typespec/openapi3/openapi.json +++ b/tsp-output/@typespec/openapi3/openapi.json @@ -2,7 +2,12 @@ "openapi": "3.0.0", "info": { "title": "Antelope Token API", - "version": "0.0.0" + "summary": "Tokens information from the Antelope blockchains, powered by Substreams", + "license": { + "name": "MIT", + "url": "https://github.com/pinax-network/antelope-token-api/blob/4f4bf36341b794c0ccf5b7a14fdf810be06462d2/LICENSE" + }, + "version": "3.0.0" }, "tags": [ {