Description
Aliases to primitive types are not translated to primitive types
Repro steps
components:
schemas:
PhoneNumber:
type: string
Order:
type: object
properties:
phone:
$ref: '#/components/schemas/PhoneNumber'
components:
schemas:
PhoneNumber:
type: string
Order:
type: object
properties:
phone:
allOf:
- $ref: '#/components/schemas/PhoneNumber'
nullable: false
Expected behavior
Phone property is resolved as string
Actual behavior
Both of these are resolved as obj instead of string
Known workarounds
Unknown
Related information
<PackageReference Include="SwaggerProvider" Version="0.10.7" />
Description
Aliases to primitive types are not translated to primitive types
Repro steps
Expected behavior
Phone property is resolved as
stringActual behavior
Both of these are resolved as
objinstead ofstringKnown workarounds
Unknown
Related information