Skip to content

Commit

Permalink
Merge pull request #1267 from datacite/202410_openapi_updates
Browse files Browse the repository at this point in the history
Correct allowed values for affiliation in POST/PUT dois
  • Loading branch information
codycooperross authored Oct 22, 2024
2 parents 6c80cb8 + 1aafd7c commit 914f2bb
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2022,21 +2022,17 @@ components:
type: string
affiliation:
description: Set `affiliation=true` to see additional affiliation information such as the affiliation identifier.
oneOf:
- type: array
items:
type: object
properties:
affiliationIdentifier:
type: string
affiliationIdentifierScheme:
type: string
name:
type: string
schemeUri:
type: string
- type: array
items:
type: array
items:
type: object
properties:
affiliationIdentifier:
type: string
affiliationIdentifierScheme:
type: string
name:
type: string
schemeUri:
type: string
lang:
type: string
Expand Down

0 comments on commit 914f2bb

Please sign in to comment.