๐Ÿ–‹๏ธ- API rewrite
 
 

This section explains the major API stack upgrade happening on GeoAR.it.

๐Ÿ”ง What’s Going On?
  • ๐Ÿ”„ Major refactor: GeoAR.it is migrating from Swashbuckle/Swagger (OpenAPI v2) to Microsoft.OpenAPI and NSwag.
  • ๐Ÿฆ– Swashbuckle is out: The old stack is obsolete—no updates, no security patches, stuck on old tech.
  • ๐Ÿš€ Industry shift: Modern tools, AI, and Model Context Protocol expect OpenAPI 3.1 for full compatibility.
  • ๐Ÿ”“ Not locked down: Endpoints, models, and docs are changing rapidly and are not yet stable.
  • ๐Ÿ› ๏ธ Some things missing: Sample data and familiar docs are temporarily unavailable or incomplete.
  • ๐Ÿ’ก Want to know the bigger picture? See About GeoAR.it and Me.

Bottom line: Moving fast, fixing what matters, and not pretending the API is “stable” when it isn’t.

This section summarises why the move away from Swashbuckle is necessary.

โ“ Why Am I Doing This?
  • ๐Ÿฆ– Swashbuckle is obsolete: It’s unmaintained and a security risk.
  • ๐ŸŒ OpenAPI 3.1 is now standard: Modern tools and AI agents demand it.
  • ๐Ÿ† Microsoft.OpenAPI and NSwag: The .NET gold standard for API compatibility.
  • ๐Ÿ”— Future proof: This shift lets GeoAR.it work with agent platforms, the MCP ecosystem, and the future Spatial Web.
  • โš ๏ธ Not pretending it’s stable: While in transition, some things will break or go missing.

This section gives the honest current state of the API, endpoints, and docs.

๐Ÿ“Š What’s The State Right Now?
  • โŒ Swashbuckle is gone.
  • โœ… Microsoft.OpenAPI and NSwag are live.
  • โ™ป๏ธ Everything’s in flux: Endpoints, URIs, and models are changing (sometimes daily).
  • โšก If you develop now, expect churn: Don’t build for production yet!
  • ๐Ÿ“š Docs are missing nice-to-haves: No example/sample data in the UI yet. Ask if you need examples.
  • ๐Ÿ›‘ NuGet package: GeoARIt.Api NuGet package is broken and intentionally unsupported for now.
  • ๐Ÿงฐ Need client code? Use live OpenAPI docs for now.

This section is for developers and integrators who want to build on GeoAR.it.

๐Ÿ‘จ‍๐Ÿ’ป For Developers & Integrators
  • ๐Ÿ›‘ Wait for “contract freeze”: The API will be called “stable” and production-ready after a public notice.
  • ๐Ÿ•ต๏ธ Track changes here: Keep an eye on /swagger/v1/swagger.json for the current schema.
  • โšก Not for prod yet: Don’t integrate with mission-critical systems while the API is in flux.
  • ๐Ÿง  For project philosophy, see About GeoAR.it and Me.

This section lists the next planned actions and priorities for the API migration.

๐Ÿ”œ What’s Next?
  • ๐Ÿงน Finish rewriting endpoints and cleaning up models.
  • ๐Ÿ“š Restore example/sample data to the docs UI.
  • ๐Ÿ”„ Fix and relaunch the NuGet package after the API is stable.
  • ๐Ÿ”’ Announce when the API is fully versioned and safe to build on.

This section gathers quick links to important resources and documentation.

๐Ÿ”— Quick Links

This section gives a bullet-point summary of the current state and important notes.

๐Ÿงพ Summary
  • ๐Ÿš€ Moved to NSwag and Microsoft.OpenAPI.
  • โ™ป๏ธ API and docs are changing—don’t treat them as final.
  • ๐Ÿ“š Example/sample data in the docs is missing for now (it will return).
  • ๐Ÿ›‘ NuGet package is dead—wait for the “all clear” before using it.