scalar / scalar

Scalar is an open-source API platform:                                       🌐 Modern Rest API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support
https://scalar.com
MIT License
7.16k stars 221 forks source link

Auth type selection is empty (Scalar.AspNetCore) #3179

Closed olegsavelos closed 1 month ago

olegsavelos commented 1 month ago

What happens?

The auth type selection does not show any items. image An error appears in browser debugger image image

Generated schema v1 (9).json

What did you expect to happen?

Auth type selection present define methods.

OpenAPI Document

No response

amritk commented 1 month ago

Hi @olegsavelos which version were you on? We just fixed a similar bug earlier today, it should be in the latest version.

marclave commented 1 month ago

image

purged :)

olegsavelos commented 1 month ago

@amritk 1.2.3 it seems :) , note that I am using .NET version.

amritk commented 1 month ago

Give it another try!

olegsavelos commented 1 month ago

@amritk there is no new nuget packages published so far

amritk commented 1 month ago

Is it this one?

https://www.nuget.org/packages/AspNetCore.Scalar/1.1.6#supportedframeworks-body-tab

I'm seeing version 1.1.6 from 11 days ago

olegsavelos commented 1 month ago

@amritk this one https://www.nuget.org/packages/Scalar.AspNetCore, i think @marclave is maintainer :) I have compiled from source and it seems that the bug is fixed so it only remains for @marclave to push new version to nuget.

amritk commented 1 month ago

Awesome thanks for checking @olegsavelos. @marclave it's all urs, can we automate the .net deployment?

ZUOXIANGE commented 1 month ago

bug is fixed? Scalar.AspNetCore 1.2.4 still has the same problem