influxdata/openapi contracts still contain links to InfluxDB v2 as influxdb/latest instead of influxdb/v2. Generated contracts/ref/oss.yml affect anyone consuming that contract directly — SDK generators, other docs consumers, anyone reading the file.
However, docs-v2 is no longer a motivating case for the fix, so it's a hygiene issue in this repo.
influxdata/docs-v2 half of this is fixed by #7697** (7bd1659, "move OSS v2 and Cloud v2 spec decorators to build time").
That change adds applyMirrorTransforms in post-process-specs.ts, which rewrites https://docs.influxdata.com/influxdb/latest/ and bare /influxdb/latest/ to the product root at build time.
Originally posted by @jstirnaman in #7666
influxdata/openapicontracts still contain links to InfluxDB v2 asinfluxdb/latestinstead ofinfluxdb/v2. Generatedcontracts/ref/oss.ymlaffect anyone consuming that contract directly — SDK generators, other docs consumers, anyone reading the file.However, docs-v2 is no longer a motivating case for the fix, so it's a hygiene issue in this repo.
influxdata/docs-v2 half of this is fixed by #7697** (
7bd1659, "move OSS v2 and Cloud v2 spec decorators to build time").That change adds
applyMirrorTransformsinpost-process-specs.ts, which rewriteshttps://docs.influxdata.com/influxdb/latest/and bare/influxdb/latest/to the product root at build time.Originally posted by @jstirnaman in #7666