FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
90 stars 12 forks source link

Deprecated field not clear in openapi specification / .net client #2795

Open Pycnomerus opened 3 months ago

Pycnomerus commented 3 months ago

What happened?

it look like there is some fields that are not reported correctly since 1.43.0 in the openapi spec.

I was expecting to see the field userId in the .net api for the type IdentityProviderLinkRequest. since deprecating the post 'api/identity-provider/link' in 1.43.0.

to match the new body format that is described for the new complete link endpoint (which as the same url) but a different body

was that planned for after the deprecation for compatibility ?

Version

1.50.1

Affects Versions

1.43.0

Pycnomerus commented 3 months ago

I've come to the realisation that it's the deprication messager beeing part of the new method body that is confusing.

could it be possible to change it so that the deprecation note is under the method header instead of at the bottom of the upper method response.

mooreds commented 5 days ago

Thanks @Pycnomerus . We are currently working through our backlog and modifying the openapi client isn't in the current workload. But I'll tag this so that when we start to look at it, we'll review this.