๐Ÿ› ๏ธ How to Generate a Client API from the OpenAPI Definition
 
 

This section provides step-by-step instructions for generating client code for the GeoAR.it API in your preferred development language.

๐Ÿ› ๏ธ How to Generate a GeoAR.it API Client
  • โฌ‡๏ธ Download the OpenAPI file: Get the latest swagger.json from the GeoAR.it API.
  • ๐Ÿ“ Import into Swagger Editor: Visit editor.swagger.io, choose File → Import File, and upload swagger.json.
  • โšก Preview & Generate: The API spec appears on the left. Use the toolbar's Generate Client button to select your language and instantly create client code.

The GeoAR.it sample NuGet client was generated using this method.

This section explains how to generate a GeoAR.it API client directly inside Visual Studio.

๐Ÿ’ป Visual Studio: API Client Generation
  • ๐Ÿงฉ Connected Services: In Visual Studio, use Connected Services to add your API reference and auto-generate the client.
  • ๐Ÿš€ Fully Integrated: Enjoy type-safe API access, auto-complete, and simplified HTTP calls—right from your .NET project.