Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eTag values fails with TypeError type 'String' is not a subtype of type 'Map<String, dynamic>' #737

Open
RoarGronmo opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Triage needed

Comments

@RoarGronmo
Copy link

RoarGronmo commented Mar 12, 2024

When parsing an eTag value on the form:

"eTag":"W/\"datetime'2024-03-12T10%3A32%3A04.1580203Z'\""

I get this error:

TypeError: "W/\"datetime'2024-03-12T10%3A14%3A47.864181Z'\"": type 'String' is not a subtype of type 'Map<String, dynamic>'

The swagger used on this line is:

...
      "ETag": {
        "type": "object",
        "additionalProperties": false
      },
...      

Everything else seems to work...

Is there a obvious reason for why it shouldn't work ?

@RoarGronmo RoarGronmo added bug Something isn't working Triage needed labels Mar 12, 2024
@Vovanella95
Copy link
Collaborator

Hi @RoarGronmo , could you please provide full swagger file? (you can send it to my email)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triage needed
Projects
None yet
Development

No branches or pull requests

3 participants