Skip to content

Commit ef87895

Browse files
authored
Merge pull request #11 from SkyCryptWebsite/dev
Revert previous changes and clean up API responses
2 parents c812888 + 75327dc commit ef87895

27 files changed

Lines changed: 238 additions & 213 deletions

docs/docs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/swagger.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/swagger.yaml

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,11 +1902,6 @@ paths:
19021902
required: true
19031903
schema:
19041904
type: string
1905-
requestBody:
1906-
content:
1907-
application/json:
1908-
schema:
1909-
type: object
19101905
responses:
19111906
"200":
19121907
content:
@@ -1945,11 +1940,6 @@ paths:
19451940
required: true
19461941
schema:
19471942
type: string
1948-
requestBody:
1949-
content:
1950-
application/json:
1951-
schema:
1952-
type: object
19531943
responses:
19541944
"200":
19551945
content:
@@ -1982,11 +1972,6 @@ paths:
19821972
required: true
19831973
schema:
19841974
type: string
1985-
requestBody:
1986-
content:
1987-
application/json:
1988-
schema:
1989-
type: object
19901975
responses:
19911976
"200":
19921977
content:
@@ -2019,11 +2004,6 @@ paths:
20192004
required: true
20202005
schema:
20212006
type: string
2022-
requestBody:
2023-
content:
2024-
application/json:
2025-
schema:
2026-
type: object
20272007
responses:
20282008
"200":
20292009
content:
@@ -2056,11 +2036,6 @@ paths:
20562036
required: true
20572037
schema:
20582038
type: string
2059-
requestBody:
2060-
content:
2061-
application/json:
2062-
schema:
2063-
type: object
20642039
responses:
20652040
"200":
20662041
content:
@@ -2093,11 +2068,6 @@ paths:
20932068
name: profileId
20942069
schema:
20952070
type: string
2096-
requestBody:
2097-
content:
2098-
application/json:
2099-
schema:
2100-
type: object
21012071
responses:
21022072
"200":
21032073
content:
@@ -2130,11 +2100,6 @@ paths:
21302100
required: true
21312101
schema:
21322102
type: string
2133-
requestBody:
2134-
content:
2135-
application/json:
2136-
schema:
2137-
type: object
21382103
responses:
21392104
"200":
21402105
content:
@@ -2167,11 +2132,6 @@ paths:
21672132
required: true
21682133
schema:
21692134
type: string
2170-
requestBody:
2171-
content:
2172-
application/json:
2173-
schema:
2174-
type: object
21752135
responses:
21762136
"200":
21772137
content:
@@ -2258,11 +2218,6 @@ paths:
22582218
name: search
22592219
schema:
22602220
type: string
2261-
requestBody:
2262-
content:
2263-
application/json:
2264-
schema:
2265-
type: object
22662221
responses:
22672222
"200":
22682223
content:
@@ -2315,11 +2270,6 @@ paths:
23152270
name: search
23162271
schema:
23172272
type: string
2318-
requestBody:
2319-
content:
2320-
application/json:
2321-
schema:
2322-
type: object
23232273
responses:
23242274
"200":
23252275
content:
@@ -2438,11 +2388,6 @@ paths:
24382388
required: true
24392389
schema:
24402390
type: string
2441-
requestBody:
2442-
content:
2443-
application/json:
2444-
schema:
2445-
type: object
24462391
responses:
24472392
"200":
24482393
content:
@@ -2475,11 +2420,6 @@ paths:
24752420
required: true
24762421
schema:
24772422
type: string
2478-
requestBody:
2479-
content:
2480-
application/json:
2481-
schema:
2482-
type: object
24832423
responses:
24842424
"200":
24852425
content:
@@ -2512,11 +2452,6 @@ paths:
25122452
required: true
25132453
schema:
25142454
type: string
2515-
requestBody:
2516-
content:
2517-
application/json:
2518-
schema:
2519-
type: object
25202455
responses:
25212456
"200":
25222457
content:
@@ -2555,11 +2490,6 @@ paths:
25552490
required: true
25562491
schema:
25572492
type: string
2558-
requestBody:
2559-
content:
2560-
application/json:
2561-
schema:
2562-
type: object
25632493
responses:
25642494
"200":
25652495
content:
@@ -2592,11 +2522,6 @@ paths:
25922522
required: true
25932523
schema:
25942524
type: string
2595-
requestBody:
2596-
content:
2597-
application/json:
2598-
schema:
2599-
type: object
26002525
responses:
26012526
"200":
26022527
content:
@@ -2658,11 +2583,6 @@ paths:
26582583
/api/resourcepacks:
26592584
get:
26602585
description: Returns a list of resource packs
2661-
requestBody:
2662-
content:
2663-
application/json:
2664-
schema:
2665-
type: object
26662586
responses:
26672587
"200":
26682588
content:
@@ -2691,11 +2611,6 @@ paths:
26912611
required: true
26922612
schema:
26932613
type: string
2694-
requestBody:
2695-
content:
2696-
application/json:
2697-
schema:
2698-
type: object
26992614
responses:
27002615
"200":
27012616
content:
@@ -2734,11 +2649,6 @@ paths:
27342649
required: true
27352650
schema:
27362651
type: string
2737-
requestBody:
2738-
content:
2739-
application/json:
2740-
schema:
2741-
type: object
27422652
responses:
27432653
"200":
27442654
content:
@@ -2777,11 +2687,6 @@ paths:
27772687
required: true
27782688
schema:
27792689
type: string
2780-
requestBody:
2781-
content:
2782-
application/json:
2783-
schema:
2784-
type: object
27852690
responses:
27862691
"200":
27872692
content:
@@ -2814,11 +2719,6 @@ paths:
28142719
required: true
28152720
schema:
28162721
type: string
2817-
requestBody:
2818-
content:
2819-
application/json:
2820-
schema:
2821-
type: object
28222722
responses:
28232723
"200":
28242724
content:
@@ -2851,11 +2751,6 @@ paths:
28512751
required: true
28522752
schema:
28532753
type: string
2854-
requestBody:
2855-
content:
2856-
application/json:
2857-
schema:
2858-
type: object
28592754
responses:
28602755
"200":
28612756
content:
@@ -2882,11 +2777,6 @@ paths:
28822777
required: true
28832778
schema:
28842779
type: string
2885-
requestBody:
2886-
content:
2887-
application/json:
2888-
schema:
2889-
type: object
28902780
responses:
28912781
"200":
28922782
content:

go.mod

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ module skycrypt
33
go 1.25.1
44

55
require (
6-
github.com/DuckySoLucky/SkyCrypt-Types v0.1.10
6+
github.com/DuckySoLucky/SkyCrypt-Types v0.1.11
77
github.com/SkyCryptWebsite/SkyHelper-Networth-Go v1.2.5
88
github.com/go-git/go-git/v5 v5.16.2
99
github.com/gofiber/fiber/v2 v2.52.9
10+
github.com/joho/godotenv v1.5.1
1011
github.com/swaggo/swag/v2 v2.0.0-rc4
12+
github.com/yokeTH/gofiber-scalar v0.1.1
1113
)
1214

1315
// replace github.com/DuckySoLucky/SkyCrypt-Types => ../SkyCrypt-Types
@@ -33,10 +35,15 @@ require (
3335
github.com/go-openapi/jsonpointer v0.22.1 // indirect
3436
github.com/go-openapi/jsonreference v0.21.2 // indirect
3537
github.com/go-openapi/spec v0.22.0 // indirect
38+
github.com/go-openapi/swag v0.25.1 // indirect
39+
github.com/go-openapi/swag/cmdutils v0.25.1 // indirect
3640
github.com/go-openapi/swag/conv v0.25.1 // indirect
41+
github.com/go-openapi/swag/fileutils v0.25.1 // indirect
3742
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
3843
github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
3944
github.com/go-openapi/swag/loading v0.25.1 // indirect
45+
github.com/go-openapi/swag/mangling v0.25.1 // indirect
46+
github.com/go-openapi/swag/netutils v0.25.1 // indirect
4047
github.com/go-openapi/swag/stringutils v0.25.1 // indirect
4148
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
4249
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
@@ -51,12 +58,17 @@ require (
5158
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
5259
github.com/skeema/knownhosts v1.3.1 // indirect
5360
github.com/sv-tools/openapi v0.2.1 // indirect
61+
github.com/swaggo/fiber-swagger v1.3.0 // indirect
62+
github.com/swaggo/files v1.0.1 // indirect
63+
github.com/swaggo/swag v1.16.6 // indirect
5464
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
5565
github.com/xanzy/ssh-agent v0.3.3 // indirect
5666
go.yaml.in/yaml/v3 v3.0.4 // indirect
5767
golang.org/x/arch v0.21.0 // indirect
5868
golang.org/x/crypto v0.43.0 // indirect
69+
golang.org/x/mod v0.29.0 // indirect
5970
golang.org/x/net v0.46.0 // indirect
71+
golang.org/x/sync v0.17.0 // indirect
6072
golang.org/x/tools v0.38.0 // indirect
6173
gopkg.in/warnings.v0 v0.1.2 // indirect
6274
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -68,16 +80,16 @@ require (
6880
github.com/andybalholm/brotli v1.2.0 // indirect
6981
github.com/go-redis/redis/v8 v8.11.5
7082
github.com/google/uuid v1.6.0 // indirect
71-
github.com/joho/godotenv v1.5.1
7283
github.com/json-iterator/go v1.1.12
7384
github.com/kettek/apng v0.0.0-20220823221153-ff692776a607
7485
github.com/klauspost/compress v1.18.0 // indirect
7586
github.com/mattn/go-colorable v0.1.14 // indirect
7687
github.com/mattn/go-isatty v0.0.20 // indirect
7788
github.com/mattn/go-runewidth v0.0.19 // indirect
89+
github.com/rivo/uniseg v0.4.7 // indirect
7890
github.com/valyala/bytebufferpool v1.0.0 // indirect
7991
github.com/valyala/fasthttp v1.67.0 // indirect
80-
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 // indirect
92+
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792
8193
golang.org/x/sys v0.37.0 // indirect
8294
golang.org/x/text v0.30.0
8395
)

0 commit comments

Comments
 (0)