Skip to content

JSON sent by OpenAPI functions is automatically converted to camel-case #192

Closed

Description

@cdavernas

What happened:

JSON sent by OpenAPI functions is automatically converted to camel-case

What you expected to happen:

Synapse to respect the explicitly defined casing of JSON sent by OpenAPI functions

How to reproduce it:

Define non-camel cased arguments to an OpenAPI function expecting JSON

Discussed in #175 (reply in thread)

Activity

  1. added
    type: bugSomething isn't working
    priority: highIndicates a high priority issue
    weight: 1An issue that has a very low development impact
    on Aug 22, 2022
  2. added this to the 0.2.0 milestone on Aug 22, 2022
  3. self-assigned this
    on Aug 22, 2022
  4. cdavernas commented on Aug 23, 2022

    @cdavernas
    MemberAuthor

    Actually, all Dynamic have their properties converted into camel case during serialization. This bug is related to the camel case contract resolver configured for Newtonsoft JSON.

  5. cdavernas commented on Aug 23, 2022

    @cdavernas
    MemberAuthor
  6. added a commit that references this issue on Aug 23, 2022
    a106254
  7. added a commit that references this issue on Aug 24, 2022
    035ec2d
  8. cdavernas commented on Nov 7, 2022

    @cdavernas
    MemberAuthor

    Regressed due to commit b76b81dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app: runnerConcerns the Runnerpriority: highIndicates a high priority issuetype: bugSomething isn't workingtype: regressionIssue due to a regressionweight: 1An issue that has a very low development impact

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions