Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Standard Controller to Router or Controller? #334

Open
jkone27 opened this issue Jan 12, 2022 · 0 comments
Open

Map Standard Controller to Router or Controller? #334

jkone27 opened this issue Jan 12, 2022 · 0 comments

Comments

@jkone27
Copy link

jkone27 commented Jan 12, 2022

i would like a way to map a standard controller in my code to a saturn controller or router

type MyStandardAspController() =
   inherit Controller()
   //....
   
let saturnController = controllerOf<MyStandardAspController>
//or
let saturnRouter = routerOf<MyStandardAspController>

// this way i could have a valid swagger server definition..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants