I want to deploy a ServiceStack API to Google Cloud Run, utilizing Google Cloud Endpoints. I have 2 questions about the specification document:
- According to the tutorial, I need to add
x-google-backendto the document. How should I configure
OpenApiFeatureto add this with its 2 children?
- By default, the Open API document in ServiceStack is at
/openapi. GCP seems to only allow uploading the document in json or yaml format, not by URL. Is it possible to generate this document during the build process somehow?
2b. The generated document’s
hostmust also not be localhost and I need to be able to configure it to be the real host.