ory-am/hydra

View on GitHub
.schema/openapi/patches/oauth2.yaml

Summary

Maintainability
Test Coverage
- op: remove
  path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/access_token/additionalProperties
- op: remove
  path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/access_token/type
- op: remove
  path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/id_token/additionalProperties
- op: remove
  path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/id_token/type
- op: replace
  path: /components/schemas/oAuth2ConsentSession/properties/expires_at
  value:
    type: object
    properties:
      access_token:
        format: date-time
        type: string
      refresh_token:
        format: date-time
        type: string
      authorize_code:
        format: date-time
        type: string
      id_token:
        format: date-time
        type: string
      par_context:
        format: date-time
        type: string

- op: replace
  path: /components/schemas/nullDuration
  value:
    title: "Time duration"
    description: "Specify a time duration in milliseconds, seconds, minutes, hours."
    type: string
    pattern: "^([0-9]+(ns|us|ms|s|m|h))*$"
- op: replace
  path: /components/schemas/NullDuration
  value:
    title: "Time duration"
    description: "Specify a time duration in milliseconds, seconds, minutes, hours."
    type: string
    pattern: "^([0-9]+(ns|us|ms|s|m|h))*$"