Skip to content

Commit

Permalink
Merge pull request #38 from TimoGlastra/fix/type-optional
Browse files Browse the repository at this point in the history
fix: type optional
  • Loading branch information
nklomp authored Oct 29, 2024
2 parents 4102499 + ead7ef2 commit 1ce4d4b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions openapi/pex-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,22 +478,9 @@ components:
type:
type: string
description: Object type of the acceptable field.
required:
- type
additionalProperties: false

filter_v2:
allOf:
- $ref: "#/components/schemas/filter_v2_base"
- type: object
properties:
type:
type: string
description: Object type of the acceptable field.
required:
- type

filter_v2_base:
title: Filter V2
type: object
description: This is the filter that can be applied on the field's value to know if the available credential with a specifici field is acceptable or not.
Expand Down Expand Up @@ -545,7 +532,7 @@ components:
type: string
description: Object type of the acceptable field.
contains:
$ref: "#/components/schemas/filter_v2_base"
$ref: "#/components/schemas/filter_v2"
items:
anyOf:
- $ref: "#/components/schemas/filter_v2"
Expand Down

0 comments on commit 1ce4d4b

Please # to comment.