openapi icon indicating copy to clipboard operation
openapi copied to clipboard

openapi 3.0.0 improvements

Open CastixGitHub opened this issue 2 years ago • 4 comments

openapi 3.0.0 improvements:

  • multipart/form-data request body printed
  • show security Autorization headers with a nice lock unicode.
  • print other request headers
  • show content-type headers

CastixGitHub avatar Jul 10 '22 14:07 CastixGitHub

Hey @CastixGitHub!

I would like to use your improvements in my project, but can't get it included in the conf.py properly. Could you explain how to substitute the extension with your version?

Thank you in advance, Sue

sommerlilie avatar Aug 17 '22 14:08 sommerlilie

hi @sommerlilie there's no need to tweak conf.py just add 'sphinxcontrib.openapi', to the extensions.

did you set up the options from the rst source file? eg:

.. openapi:: ../specs/main.yml
   :request:
   :group:
   :examples:

CastixGitHub avatar Aug 24 '22 08:08 CastixGitHub

also tell me if you need other authentication methods, i'll be happy to add them too

CastixGitHub avatar Aug 24 '22 08:08 CastixGitHub

@CastixGitHub would you be able to rebase this and resolve the conflicts? I'd be happy to get this merged for you.

stephenfin avatar Dec 06 '22 17:12 stephenfin