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

Example of calling the OpenAPI path #18

Closed
nojaf opened this issue Jul 9, 2020 · 2 comments
Closed

Example of calling the OpenAPI path #18

nojaf opened this issue Jul 9, 2020 · 2 comments

Comments

@nojaf
Copy link

nojaf commented Jul 9, 2020

Hello,

I just tested this wonderful typeProvider and I'm able to create my JSON very nicely.
But I'm a bit confused what to do now.
Does this TP also expose functions to call the actual API? Or do I need to do that part myself?
If so, any samples or best practices on that?

Many thanks,

Florian

@Dzoukr
Copy link
Collaborator

Dzoukr commented Jul 9, 2020

Hello Florian,

this TP was designed to be used on server side providing API based on existing specification. Typical usage is to have it in Giraffe checking requests are coming in expected form (Schema) and replying back with schema again.

To make HTTP calls based on specification is the "other side" (client) and you should look at https://github.com/fsprojects/SwaggerProvider

@nojaf
Copy link
Author

nojaf commented Jul 9, 2020

Hello Roman,

Thanks for clearing this up. I'm more looking for something like https://github.com/Szer/GiraffeGenerator I think.

@nojaf nojaf closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants