Skip to content

API payload in camel case #16

@cantoniazzi

Description

@cantoniazzi

What

We need to improve the schemas to expect fields in camel case format.

A solution could be adding an alias in the schema fields.

e.g:

alias='coverageArea'

Why

Because the API payload it's in snake_case format.

Tasks

  • improve schema fields:

References

https://pydantic-docs.helpmanual.io/usage/model_config/#alias-generator

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions