Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in VILLAScontroller schema #69

Open
stv0g opened this issue Jul 10, 2023 · 0 comments
Open

Fix error in VILLAScontroller schema #69

stv0g opened this issue Jul 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@stv0g
Copy link
Contributor

stv0g commented Jul 10, 2023

[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.
@stv0g stv0g added the bug Something isn't working label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant