Giter Site home page Giter Site logo

Comments (10)

jcenturion avatar jcenturion commented on July 23, 2024

@danjenkins: The latest version have support for that. So, if you are using custom security schemes, now you will be able to see it listed under security _scheme section_.

securitySchemes:
  - custom_scheme_1:
      type: x-custom
      describedBy:
        headers:
          auth:
        queryParameters:
          access_token:
  • The console will render:

screen shot 2015-03-10 at 4 46 41 pm

from api-console.

ddossot avatar ddossot commented on July 23, 2024

This is great!

Could the content of the description field be shown as well?

from api-console.

jcenturion avatar jcenturion commented on July 23, 2024

@ddossot: Currently, once you've selected a custom scheme, the console will add the headers and query-parameters of such scheme into the documentation.

But, this behaviour can change, since, we're working on a better way of showing security-scheme documentation.

screen shot 2015-03-10 at 5 17 25 pm

from api-console.

ddossot avatar ddossot commented on July 23, 2024

Cool, having the description of the securityScheme shown as well would be a nice icing on the cake 😉

from api-console.

jcenturion avatar jcenturion commented on July 23, 2024

@ddossot: In the latest version, now you can find the full security scheme documentation.

screen shot 2015-03-11 at 5 52 56 pm

from api-console.

sichvoge avatar sichvoge commented on July 23, 2024

Great stuff!

from api-console.

AndrewBragdon avatar AndrewBragdon commented on July 23, 2024

This isn't working for me. If I choose "Anonymous" as the authentication scheme, I get this error:

"Custom Security Schemes are not supported in Try It "

from api-console.

AndrewBragdon avatar AndrewBragdon commented on July 23, 2024

I am getting the same error on Anonymous:

"Custom Security Schemes are not supported in Try It "

from api-console.

AndrewBragdon avatar AndrewBragdon commented on July 23, 2024

@jcenturion this does not seem to work for Anonymous

from api-console.

linuradu avatar linuradu commented on July 23, 2024

I upgraded the library to version 3.0.11 and still that message is shown: "Custom Security Schemes are not supported in Try It". Apart of that, the functionality of x-custom is working properly.

from api-console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.