Check out example codes for "autorest generate java client". It will help you in understanding the concepts better.

Code Example 1

New-Item -ItemType Directory -Force -Path ./docs/openapiiwr http://localhost:5000/swagger/v1/swagger.json -o ./docs/openapi/api-v1.json

Learn ReactJs, React Native from akashmittal.com