[OpenNMS/opennms] 331875: NMS-20263: Do not reference the trapd JAXB class a...

Marshall Massengill via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mm/NMS-20263-smoke/[email protected]>
  Branch: refs/heads/mm/NMS-20263-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: 331875947955c553ce81e5cb4c338030d91baf38
      https://github.com/OpenNMS/opennms/commit/331875947955c553ce81e5cb4c338030d91baf38
  Author: Marshall Massengill <[email protected]>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/config/TrapdConfigurationResource.java

  Log Message:
  -----------
  NMS-20263: Do not reference the trapd JAXB class as a response schema

Pointing the v1 trapd response at org.opennms.netmgt.config.trapd.TrapdConfiguration
broke document generation: swagger-core introspects the class with Jackson, which
rejects its conflicting array and List setters for snmpv3User. Document the
operation by example only, as the BSM responses with custom serializers already
are. The v2 TrapdConfigDto is not a substitute here because the v1 response
carries the XSD attribute names.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.