Skip to content

Fix missing tests from #1389 #1441

@jamietanna

Description

@jamietanna

Removed from #1389 for time, was:

+++ internal/test/issues/issue-1378/bionicle.yaml
@@ -0,0 +1,45 @@
+openapi: 3.0.1
+
+info:
+  title: Test
+  description: Test
+  version: 1.0.0
+
+paths:
+  /bionicle/{name}:
+    get:
+      parameters:
+        # TODO
+        # - $ref: "common.yaml#/components/parameters/tracingId"
+        - $ref: "#/components/parameters/bionicleName"


+++ internal/test/issues/issue-1378/common.yaml
@@ -0,0 +1,25 @@
+openapi: 3.0.1
+
+info:
+  title: Test
+  description: Test
+  version: 1.0.0
+
+components:
+  schemas:
+    ErrTracingIdNotSent:
+      type: object
+      properties:
+        code:
+          type: string
+      required:
+        - code
+  # TODO
+  # parameters:
+  #   tracingId:
+  #     name: Tracing-Id
+  #     in: header
+  #     required: true
+  #     schema:
+  #       type: string
+  #       format: uuid

We should make sure this actually works, as it appears to be introducing multiple package imports.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions