Hi everyone,
with the increasing number of API that support JSON is not uncommon that we are exposing REST endpoint to support PUT/POST operation to create or update resources.
The preferred support format is almost every time JSON.
Neuron is extending its support to handle REST and JSON and the swagger integration is really cool.
I was wandering whether there was in the pipeline or whether someone have ever tried to integrate the JSON.NET schema as a Neuron process / workflow step.
It would allow to rely on the schema defined within the swagger file to validate the message, without maintaining a duplicate (swagger and xsd).
I would like to hear your thoughts on this! or if you have any suggestion on how to achieve the same I would be more thank welcome to hear it
Fabrizio
Tags: JSON, REST, validation
Hi Joe,
I have tried to follow the suggestion of using the Newtonsoft.IsValid method within a C# step but I cannot save the code as the method is obsolte
"'Newtonsoft.Json.Schema.JsonSchema' is obsolete: 'JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.' (58,24)".
I will try using the standalone library.
Thank you
Fabrizio
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by