Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Question: Please could you indicate how to generate the client code? #368

Open
benitocm opened this issue Feb 28, 2023 · 2 comments
Open
Labels

Comments

@benitocm
Copy link

Hi,

This is not a bug, it is just a question.
I would like to use the plugin for generating the server stubs and client code from a swagger file.
I am able to generate the server code, but it is not clear to me how to generate the client side

Thanks in advance

@benitocm benitocm added the bug label Feb 28, 2023
@petravetsma
Copy link

petravetsma commented May 4, 2023

Hi @benitocm ,

What the difference between server code and client side code?
For example we use this plugin and generating client-side code just with

swaggerSources { clientApi { code { language = "typescript-fetch" }}}

and other configs

@snoweuph
Copy link

@benitocm I had the same Problem.
The solution is that saome "Languages" are seen as servers and some as clients.
"spring" is a server and "java" a client language.

This took me 2 days to figure out

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants