Skip to content

Codegen fails with a not implemented yet panic for object with format: date #1189

@dyc3

Description

@dyc3

This is the API spec I was trying to generate code for: https://docs.finix.com/_spec/api/index.yaml

This is the error I get:

progenitor::generate_api!("finix.yaml");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: not yet implemented: invalid (or unexpected) schema:
          {
            "description": "The principal control owner's date of birth.",
            "type": "object",
            "format": "date",
            "properties": {
              "day": {
                "description": "Day of birth (between 1 and 31).",
                "type": "integer"
              },
              "month": {
                "description": "Month of birth (between 1 and 12).",
                "type": "integer"
              },
              "year": {
                "description": "Year of birth (4-digit).",
                "type": "integer"
              }
            }
          }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions