khamas
khamas
Explore posts from servers
CC#
Created by khamas on 1/28/2025 in #help
nswag openapi add a global return type for a specific response code
I guess yeah
9 replies
CC#
Created by khamas on 1/28/2025 in #help
nswag openapi add a global return type for a specific response code
I made a filter, but how does it register in the openapi document?
9 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
let resp = await new AuthenticationClient()
.beginLogin(new BeginLoginRequest({
latitude: 0,
longitude: 0,
preferredLanguage: "EN",
email: "some@mail.com",
phoneNumber: "0123456789"
}));
let resp = await new AuthenticationClient()
.beginLogin(new BeginLoginRequest({
latitude: 0,
longitude: 0,
preferredLanguage: "EN",
email: "some@mail.com",
phoneNumber: "0123456789"
}));
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
nvm I found it
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
I also need to generate a base class to inject headers in the request
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
it just shows me an error when i do this and svelte gives 500 error
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
@Sehra , do you know how to instantiate the type using <BeginLoginRequest>{ email: "some@mail.com" }
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
I can live with single response types for 200
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
also for some reason I can't instantiate request dtos using like <BeginLoginRequest>{ email: "some@mail.com" };
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
I was talking about unrelated types
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
right but that is inheritance
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
I tried with multiple types on 200
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
well it didn't seem to merge them together
21 replies
CC#
Created by khamas on 1/26/2025 in #help
nswag (OpenApi) typescript get error type
right but 201 is also a generated exception
21 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
ok so I'll just create an offset based on a DateOnly
35 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
alright
35 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
and DTO can output me a DT as UTC anyways
35 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
say like I want to gather reports from 01/01/2024 to 31/01/2024 as CEST time
35 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
I just want the client app to have it's own timezone and I'll convert to UTC when sending to server
35 replies
CC#
Created by khamas on 3/6/2024 in #help
✅ Creating a datetime with a timezone
there is no need for offset
35 replies