Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML-JSON Transform

This assertion transforms XML / JSON based on JSON schema object included in the OpenAPI 3 document. The schema objects contain XML hints that adds more capability. For more information:

The core of the conversion is done via the jsonxmlconver library: https://github.com/guyplusplus/JSON-XML-Converter-via-OpenAPI-Schema

Dialog Screenshot

Schema Caching

Schema caching is controlled with the 3 following cluster properties. Every 5 minutes these properties are refreshed:

  • jsonxml.schemaCache.maxAge (in ms): entries older than this age are flushed. Set to -1 to avoid cache flush. Default is -1
  • jsonxml.schemaCache.maxDownloadSize (in characters). Default is 128KB
  • jsonxml.schemaCache.maxEntries. Set to 0 to avoid cache. Default is 128

About

This CA API Gateway (Layer 7) custom assertion converts XML / JSON based on the JSON schema included in the OpenAPI (swagger) document, focussing on the xml special object

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages