openai-openapi icon indicating copy to clipboard operation
openai-openapi copied to clipboard

fix: Add auth scheme

Open shun-shobon opened this issue 2 years ago • 1 comments

This PR adds an authorization entry to the OpenAPI schema so that when the code is generated by an automatic generator tool such as openapi-generator, the logic for authorization is generated.

We have added a Bearer authorization field throughout.

resolve #8

shun-shobon avatar Jan 15 '23 15:01 shun-shobon

Thanks for this @shun-shobon.

I agree, this would be a great addition.

Do you have any thoughts on this @logankilpatrick, given that you created #8?

Thank you for your time

thejamescollins avatar Feb 07 '23 03:02 thejamescollins

Fixed in https://github.com/openai/openai-openapi/pull/82/files

schnerd avatar Sep 05 '23 23:09 schnerd