Skip to content

<ComplexType>: missing definition in output #51

Description

@d9k

Input:

1c-zup-odata-metadata.xml.gz

<!-- . . . . . -->
<EntityType Name="Catalog_Кассы">
  <Property Name="ДополнительныеРеквизиты"
      Type="Collection(StandardODATA.Catalog_Кассы_ДополнительныеРеквизиты_RowType)"
      Nullable="true"/>

      <!-- . . . . . -->
</EntityType>

<ComplexType Name="Catalog_Кассы_ДополнительныеРеквизиты_RowType">
  <Property Name="Ref_Key"
      Type="Edm.Guid"
      Nullable="false"/>
  <Property Name="LineNumber"
      Type="Edm.Int64"
      Nullable="false"/>
  <!-- . . . . . -->
</ComplexType>

Output:

swagger.generated.json.gz

"StandardODATA.Catalog_Кассы": {
    "ДополнительныеРеквизиты": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/StandardODATA.Catalog_Кассы_ДополнительныеРеквизиты_RowType"
      }
    }
  },

<!-- No Catalog_Кассы_ДополнительныеРеквизиты_RowType definitions below! -->

Activity

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

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