-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
-
dn6-mongo-react-valtio
A fully featured sample .NET 6 Web API with MongoDB, React, and Valtio. Set up for Google Cloud Run for the back-end with a Dockerfile.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Have any of you had experience using API clients generated by openapi-generator with Vue 3, specifically using the typescript-axios generator? It works well for me for HTTP GET requests, but I’m seeing issues with it not specifying the correct Content-Type for HTTP POST/PUT. My OpenAPI spec clearly defines the content type as application/json, but I can see on the wire the client is specifying text/plain. Are there any decent examples showing how to best use this generated code? Is there a better way of handling OpenAPI clients in Vue 3 apps? It’s a sizable API definition, so generating the client and its model objects by hand would be very time consuming. I was hoping to speed up development using the generated API client, but now I’m stuck for a sizable part of the API. Thoughts?
Hello! I do this all of the time. Check out my tutorial HERE (No registration or anything required). You can also look at my example project on GitHub HERE