datacite / lupo

DataCite REST API
https://api.datacite.org
MIT License
12 stars 8 forks source link

Remove required properties in OpenAPI yaml to improve behavior in API reference #1045

Closed codycooperross closed 1 year ago

codycooperross commented 1 year ago

Describe the bug

Required properties auto-populate in the Readme API reference interface, causing resourceTypeGeneral attributes to always be included in generated /dois POST and PUT.

Expected Behaviour

The generated requests only include expected, user-entered values.

Current Behaviour

The generated requests include unexpected resourceTypeGeneral values.

Steps to Reproduce

See:

Context (Environment)

Screenshots

Further details

Proposal

Hypothesis

Possible Implementation

Front logo Front conversations