Skip to content

Validation of 3.0.3 schema fails #1079

@andig

Description

@andig

Validation fails for this file but is fine in https://oas-validation.com/.

bad data in "#/components/parameters/soc" (expecting ref to schema object)

Parameters:

    soc:
      name: soc
      description: SOC in %
      in: path
      required: true
      schema:
        $ref: "#/components/schemas/Soc"

Schemas:

    Soc:
      description: SOC in %
      type: number
      example: 60
      minimum: 0
      maximum: 100

It's unclear to me what could be the root cause- the schema object seems to exist?

rest-api.yaml.txt

Refs evcc-io/docs#823

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