Skip to content

Fix error in VILLAScontroller schema #69

Open
@stv0g

Description

@stv0g
[REDOCUSAURUS_PLUGIN] errors while bundling spec external/controller/doc/openapi.yaml
[1] external/controller/villas/controller/schemas/manager/kubernetes/create.yaml:10:7 at #/properties/schema/additionalProperties
Two schemas are referenced with the same name but different content. Renamed schema to schema-2.
 8 | schema:
 9 |   additionalProperties:
10 |     $ref: https://json-schema.org/draft-04/schema
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 |
Warning was generated by the bundler rule.
[2] external/controller/doc/openapi.yaml:315:21 at #/paths/~1component~1{uuid}/post/requestBody/content/application~1json/schema/properties/parameters/oneOf/1
Two schemas are referenced with the same name but different content. Renamed create to create-2.
313 | oneOf:
314 | - $ref: ../villas/controller/schemas/manager/generic/create.yaml
315 | - $ref: ../villas/controller/schemas/manager/kubernetes/create.yaml
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316 | - $ref: ../villas/controller/schemas/simulator/dpsim/start.yaml
317 | - $ref: ../villas/controller/schemas/simulator/dummy/start.yaml
Warning was generated by the bundler rule.
[3] external/controller/doc/openapi.yaml:317:21 at #/paths/~1component~1{uuid}/post/requestBody/content/application~1json/schema/properties/parameters/oneOf/3
Two schemas are referenced with the same name but different content. Renamed start to start-2.
315 |             - $ref: ../villas/controller/schemas/manager/kubernetes/create.yaml
316 |             - $ref: ../villas/controller/schemas/simulator/dpsim/start.yaml
317 |             - $ref: ../villas/controller/schemas/simulator/dummy/start.yaml
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
318 |
319 | responses:
Warning was generated by the bundler rule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions