Tsp Type Override

Override TypeSpec types with Java-native types (e.g. OffsetDateTime, DayOfWeek) using @@alternateType in a client.java.tsp file. Use when a TypeSpec model field has an incorrect or too-generic type that should map to a specific Java type.

Azure Updated 2.6k repo stars

File contents

Azure/azure-sdk-for-java commit b18f9c17b0

Frequently asked questions

npx get-skill add azure-azure-sdk-for-java/tsp-type-override