additionalProperties
schema is not parsed correctly
#1427
Labels
invalid-input
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
Milestone
Describe the bug
When parsing an OpenAPI spec which contains a schema for the
additionalProperties
field, the schema does not end up in the parsedOpenApiDocument
.To Reproduce
Steps to reproduce the current behavior:
consider the following minimal spec (
example.yml
):And the code:
This makes it impossible, to generate code based on the type of the additional properties (cf. #microsoft/kiota/62 )
Expected behavior
I would expect the
additionalProperties
schema to be parsed and contain the schema of type"object"
with the properties dictionary containing a fielddata
of typestring
.Additional context
I think the parsing is in principle implemented in OpenApiSchemaDeserializer.cs#L161. However, somewhere there must be a bug.
The text was updated successfully, but these errors were encountered: