Skip to content

Examples are missing in 2.2.0 #1714

@maxdobler

Description

@maxdobler

Describe the bug
After upgrading from 2.1.0 to 2.2.0 the example payloads are missing in the AsyncApi spec.

The examples are were generated by springwolf.

2.1.0:

"AEvent": {
  "title": "AEvent",
  "type": "object",
  "properties": {
    "deviceId": {
      "type": "string"
    },
    "deviceType": {
      "title": "DeviceType",
      "type": "string"
    },
    "resolvedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "examples": [
    {
        "deviceId": "string",
        "deviceType": "TEST",
        "resolvedAt": "2015-07-20T15:49:04-07:00"
     }
  ]
}

2.2.0:

"AEvent": {
  "title": "AEvent",
  "type": "object",
  "properties": {
    "deviceId": {
      "type": "string"
    },
    "deviceType": {
      "title": "DeviceType",
      "type": "string"
    },
    "resolvedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "examples": [
    null
  ]
}

Dependencies and versions used

  • springwolf-core version 2.2.0
  • springwolf-ui version 2.2.0

Code example
For me it's just upgrading to 2.2.0 and the events published by my application are missing the examples.

Stack trace and error logs

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