Merge pull request #4556 from nurbek91/SwaggerUI

Add Swagger UI / documentation
main
Elbert Alias 3 years ago committed by GitHub
commit b09e705fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,12 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M16 31.2372C12.9864 31.2372 10.0404 30.3435 7.53468 28.6693C5.02894 26.995 3.07595 24.6152 1.92268 21.831C0.769419 19.0468 0.467673 15.9831 1.0556 13.0274C1.64353 10.0717 3.09473 7.35665 5.22569 5.2257C7.35665 3.09474 10.0717 1.64354 13.0274 1.05561C15.9831 0.46768 19.0468 0.769427 21.831 1.92269C24.6152 3.07596 26.995 5.02894 28.6692 7.53468C30.3435 10.0404 31.2372 12.9864 31.2372 16C31.2326 20.0398 29.6258 23.9128 26.7693 26.7693C23.9128 29.6258 20.0398 31.2326 16 31.2372V31.2372Z" fill="#85EA2D"/>
<path d="M16 1.52533C18.8628 1.52533 21.6613 2.37426 24.0417 3.96475C26.422 5.55525 28.2773 7.81588 29.3728 10.4608C30.4684 13.1057 30.755 16.0161 30.1965 18.8239C29.638 21.6317 28.2594 24.2108 26.2351 26.2351C24.2108 28.2595 21.6317 29.638 18.8239 30.1965C16.016 30.755 13.1057 30.4684 10.4608 29.3728C7.81588 28.2773 5.55524 26.422 3.96475 24.0417C2.37425 21.6613 1.52532 18.8628 1.52532 16C1.52532 12.1611 3.05033 8.47939 5.76486 5.76486C8.47938 3.05034 12.1611 1.52533 16 1.52533V1.52533ZM16 0C12.8355 0 9.74205 0.938384 7.11087 2.69649C4.47968 4.45459 2.42892 6.95345 1.21792 9.87707C0.00691724 12.8007 -0.309936 16.0177 0.307427 19.1214C0.924791 22.2251 2.44864 25.0761 4.68628 27.3137C6.92392 29.5513 9.77485 31.0752 12.8785 31.6926C15.9822 32.3099 19.1993 31.9931 22.1229 30.7821C25.0465 29.5711 27.5454 27.5203 29.3035 24.8891C31.0616 22.2579 32 19.1645 32 16C31.9951 11.758 30.3078 7.6912 27.3083 4.69168C24.3088 1.69215 20.242 0.00487627 16 0V0Z" fill="#173647"/>
<path d="M10.0748 10.8283C10.0257 11.3758 10.0933 11.9418 10.0567 12.4955C10.0164 13.049 9.94239 13.5995 9.83499 14.144C9.65554 14.9114 9.18591 15.5794 8.52461 16.0081C9.82885 16.8572 9.97657 18.1737 10.0625 19.509C10.1059 20.2289 10.0874 20.9548 10.1595 21.6685C10.2148 22.2222 10.4304 22.3638 11.0025 22.3822C11.2362 22.3884 11.476 22.3822 11.7459 22.3822V24.0928C10.0541 24.3817 8.65746 23.9017 8.31289 22.4685C8.19953 21.9419 8.12958 21.4069 8.10376 20.8689C8.06659 20.2964 8.128 19.7243 8.08501 19.1522C7.96186 17.5832 7.75887 17.0541 6.2581 16.9804V15.0303C6.36555 15.0056 6.47434 14.9871 6.58392 14.975C7.40816 14.9317 7.75887 14.6796 7.93729 13.8673C8.02273 13.4103 8.07415 12.9475 8.09115 12.4829C8.10848 11.584 8.17214 10.6866 8.28186 9.79427C8.49713 8.52073 9.28388 7.9053 10.5956 7.8316C10.9647 7.81317 11.339 7.8316 11.7644 7.8316V9.57899C11.5859 9.59128 11.4321 9.61584 11.2724 9.61584C10.2106 9.57835 10.155 9.94134 10.0748 10.8283V10.8283ZM12.1238 14.8768H12.0992C11.8037 14.8659 11.5158 14.9718 11.2978 15.1717C11.0799 15.3717 10.9495 15.6494 10.9349 15.9448C10.9203 16.2401 11.0227 16.5294 11.2199 16.7498C11.4171 16.9702 11.6932 17.104 11.9884 17.1223H12.0624C12.3552 17.1392 12.6427 17.0393 12.8619 16.8444C13.081 16.6495 13.2139 16.3755 13.2312 16.0828V16.021C13.2362 15.7223 13.1224 15.4338 12.9147 15.2191C12.707 15.0043 12.4225 14.8808 12.1238 14.8758V14.8768ZM15.9816 14.8768C15.6964 14.8675 15.4192 14.9716 15.2106 15.1664C15.002 15.3611 14.8791 15.6305 14.8687 15.9156C14.8676 15.9506 14.8698 15.9855 14.8752 16.02C14.868 16.1703 14.893 16.3203 14.9485 16.4601C15.0041 16.5999 15.0889 16.7261 15.1973 16.8304C15.3056 16.9347 15.4351 17.0146 15.5769 17.0648C15.7187 17.115 15.8695 17.1342 16.0194 17.1213C16.1695 17.1302 16.3198 17.1066 16.46 17.052C16.6001 16.9975 16.7269 16.9133 16.8314 16.8052C16.936 16.6971 17.016 16.5677 17.0659 16.4258C17.1158 16.2839 17.1345 16.133 17.1206 15.9832C17.1281 15.8331 17.1035 15.6831 17.0485 15.5432C16.9935 15.4033 16.9093 15.2768 16.8015 15.172C16.6937 15.0672 16.5648 14.9866 16.4234 14.9355C16.2821 14.8844 16.1314 14.8641 15.9816 14.8758V14.8768ZM19.9315 14.8768C19.6294 14.8714 19.3373 14.9852 19.1185 15.1936C18.8997 15.4021 18.7719 15.6883 18.7627 15.9903C18.7623 16.139 18.7914 16.2862 18.8481 16.4236C18.9048 16.5611 18.9881 16.6859 19.0933 16.791C19.1984 16.8961 19.3232 16.9795 19.4606 17.0362C19.5981 17.0929 19.7453 17.122 19.894 17.1216H19.9063C20.4722 17.2186 21.0444 16.6726 21.0815 16.0142C21.081 15.8639 21.0508 15.7152 20.9926 15.5765C20.9345 15.4379 20.8496 15.3121 20.7428 15.2063C20.6359 15.1006 20.5093 15.017 20.3701 14.9602C20.2308 14.9035 20.0818 14.8748 19.9315 14.8758V14.8768ZM25.3521 14.9689C24.6381 14.9382 24.2812 14.6983 24.1031 14.0215C23.9925 13.5882 23.9245 13.1451 23.9001 12.6985C23.8507 11.8743 23.8568 11.0436 23.8015 10.219C23.6722 8.26279 22.2575 7.5798 20.202 7.91822V9.61616C20.5282 9.61616 20.7803 9.61616 21.0327 9.62231C21.4697 9.62845 21.802 9.79459 21.8447 10.2807C21.888 10.7236 21.888 11.1729 21.931 11.6218C22.0173 12.5143 22.0661 13.4183 22.22 14.2985C22.3965 15.0118 22.8476 15.6265 23.4751 16.0087C22.3864 16.7409 22.0661 17.7865 22.0108 18.9621C21.9804 19.7679 21.9617 20.5802 21.9187 21.3925C21.8819 22.1307 21.6233 22.3706 20.8789 22.389C20.6697 22.3952 20.4667 22.4136 20.2324 22.4259V24.1671C20.6691 24.1671 21.0693 24.1917 21.4691 24.1671C22.7119 24.0934 23.4625 23.4903 23.7084 22.2846C23.813 21.6206 23.8746 20.9506 23.893 20.2786C23.936 19.6645 23.9299 19.0419 23.99 18.433C24.0821 17.4791 24.5191 17.0854 25.4726 17.024C25.5627 17.013 25.6514 16.9925 25.7371 16.9626V15.0112C25.5796 14.9925 25.4688 14.9744 25.3521 14.9679V14.9689Z" fill="#173647"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

@ -3176,6 +3176,16 @@
"oss": true, "oss": true,
"website": "https://kit.svelte.dev" "website": "https://kit.svelte.dev"
}, },
"Swagger UI": {
"cats": [
4
],
"description": "Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate documentation from a Swagger-compliant API.",
"icon": "Swagger UI.svg",
"oss": true,
"scripts": "(?:/([\\d.]+))?/swagger-ui-bundle\\.js\\;version:\\1",
"website": "https://swagger.io/tools/swagger-ui"
},
"SweetAlert": { "SweetAlert": {
"cats": [ "cats": [
59 59

Loading…
Cancel
Save