ann1234Occasional Contributor2 years agoToken in openapi schemaHow i can add bearer tocken in openapi.yaml?
4 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewestchichepoFrequent Contributor2 years agoHi ann1234 You can find the relevant documentation here.The first step is the security options declarations: Then, you can use it at method level or general level: Let us knowann1234Occasional Contributor2 years agoNo i want add it in generated openapi.yaml's processchichepoFrequent Contributor to ann12342 years agoann1234 I guess It depends on the generator options.which kind of generator are you using?ann1234Occasional Contributor2 years agoi generate yaml with smallrye dependency, but i also generate postman json with portman and newman run it, and i want somewhere add token
chichepoFrequent Contributor2 years agoHi ann1234 You can find the relevant documentation here.The first step is the security options declarations: Then, you can use it at method level or general level: Let us know
chichepoFrequent Contributor to ann12342 years agoann1234 I guess It depends on the generator options.which kind of generator are you using?
ann1234Occasional Contributor2 years agoi generate yaml with smallrye dependency, but i also generate postman json with portman and newman run it, and i want somewhere add token
Recent DiscussionsUI issue in API Hub Portal on narrow windows.It does not seem like setting a header in a response as required makes any differenceTry it out not working - Incorrect cURL with Swagger 2.0Solved
Related Contentc# openapi parameter schema objectCase Insensitive String parameter in schema of openApiGenerating a server code Unrecognized token 'openapi': was expecting ('true', 'false' or 'null')