OpenApi/Swagger - What is the difference between Client and Server?
问题 I've built a RESTful service exposing an endpoint using OpenApi 3.0 using yaml When I build this, it auto-generates a client directory and a server directory. I am successfully leveraging the server API as an endpoint which consumes requests. However the client API is generated from exactly the same yaml ...accepting the same argument type and returning the same type as the server. My understanding was a client produces requests to an external service, while a server consumes requests from an