Skip to content

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Sep 26, 2025

fix #3318
fix #8476

Only carry over the infromation in openapi3 when the value is serialized as numeric(unixTimeStamp or seconds/milliseconds duration)

Copy link
Contributor

github-actions bot commented Sep 26, 2025

All changed packages have been documented.

  • @typespec/compiler
  • @typespec/openapi3
  • @typespec/tspd
Show changes

@typespec/tspd - fix ✏️

Handle union of union correctly for target type in decorator signature generation

@typespec/compiler - feature ✏️

Add support for @minValue, @maxValue and their exclusive variant for datetime and duration types.,> Expose as well the following APIs,> - getMinValueForScalar,> - getMaxValueForScalar,> - getMinValueExclusiveForScalar,> - getMaxValueExclusiveForScalar

@typespec/openapi3 - feature ✏️

Add support for min/max value for date time and duration types

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 26, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin timotheeguerin marked this pull request as ready for review September 26, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add @minValue/ @maxValue support for date time types Decorator @minValue, @maxValue to support scalar Duration

4 participants