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

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

Closed
maxl2287 opened this issue Sep 16, 2024 · 1 comment · Fixed by #208
Closed

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

maxl2287 opened this issue Sep 16, 2024 · 1 comment · Fixed by #208
Assignees
Labels
bug Something isn't working

Comments

@maxl2287
Copy link
Contributor

maxl2287 commented Sep 16, 2024

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.

@maxl2287 maxl2287 added the bug Something isn't working label Sep 16, 2024
@maxl2287 maxl2287 self-assigned this Sep 16, 2024
@hdamker
Copy link
Contributor

hdamker commented Sep 16, 2024

cc: @camaraproject/commonalities_maintainers

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

Successfully merging a pull request may close this issue.

2 participants