camaraproject / DeviceStatus

Repository to describe, develop, document and test the Device Status API family
Apache License 2.0
11 stars 33 forks source link

[Device-Roaming-Subscription]: Protocol components are missing in specification #207

Closed maxl2287 closed 1 month ago

maxl2287 commented 1 month ago

Describe the bug The components described in the descriminator for the prototocol-property are missing. This causes problems with our code-generator and makes it unpossible to create the expected property-models.

See:

      discriminator:
        propertyName: protocol
        mapping:
          HTTP: "#/components/schemas/HTTPSubscriptionRequest"
          MQTT3: "#/components/schemas/MQTTSubscriptionRequest"
          MQTT5: "#/components/schemas/MQTTSubscriptionRequest"
          AMQP: "#/components/schemas/AMQPSubscriptionRequest"
          NATS: "#/components/schemas/NATSSubscriptionRequest"
          KAFKA: "#/components/schemas/ApacheKafkaSubscriptionRequest"

Tested with r1.2 - device-roaming-status-subscriptions.yaml Expected behavior The components should be there, otherwise the yaml is invalid.

hdamker commented 1 month ago

cc: @camaraproject/commonalities_maintainers