Commit 4e51e86
authored
fix: dump correct types via Swagger UI, including strings for enums (#2457)
* fix: correct api types and api type serialization
note: LookupKey not showing in components/schemas because it's a string type, unknown if there's a way to force it to display anyway
* fix: Swashbuckle.AspNetCore.Annotations should be a PackageReference not a Reference
* fix: return types for 400/404 for player/user/guild variables
* fix: game object types should be included in swagger with a functioning type hierarchy
* fix: lookups for stats/vitals since exposing the enums isn't working
* fix: get LookupKey to show in Swagger schemas
* chore: removed unused filters
* fix: collection responses
* fix: corrected weird parameter error by switching from struct to class
* rename count on paging info
* feat: dictionary enum key type in schemas
* fix: change to object initializer to avoid compile error
* fix: update property name1 parent 5dcb0b5 commit 4e51e86
File tree
164 files changed
+2151
-1133
lines changed- Framework
- Intersect.Framework.Core
- Configuration
- Config
- Descriptors
- GameObjects
- Annotations
- Conditions
- Crafting
- Events
- Commands
- Maps
- MapList
- Switches and Variables
- Models
- Serialization
- Intersect.Framework/Reflection
- Intersect (Core)
- IO
- Memory
- Updater
- Intersect.Client.Core
- Core
- Entities
- Interface
- Game
- Bag
- Bank
- Character
- Chat
- EntityPanel
- Inventory
- MapItem
- Spells
- Trades
- Menu
- Localization
- MonoGame
- Networking
- Intersect.Client.Framework/Gwen
- ControlInternal
- Control
- Input
- Intersect.Editor
- Content
- Forms
- Editors
- Events
- Event Commands
- Quest
- Localization
- Networking
- Intersect.Server.Core
- Collections
- Indexing
- Sorting
- Database
- GameData/Migrations
- Logging/Entities
- PlayerData
- Players
- Entities
- Combat
- Events
- Extensions
- Networking
- Intersect.Server
- Networking/Helpers
- Notifications
- Web
- Net7
- Configuration
- Constraints
- Swagger/Filters
- RestApi
- Payloads
- Routes
- V1
- Types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
164 files changed
+2151
-1133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments