Comments (4)
That worked, thanks! I have no idea how I've missed that
from powertools-lambda-python.
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
from powertools-lambda-python.
Hey @rafaljanicki! Thanks for opening this issue.
I think there is a typo in your code. The field name is in_
instead of _in
. Can you please try with the code provided below?
app = APIGatewayRestResolver(enable_validation=True)
app.enable_swagger(
path="/_swagger",
security_schemes={
"apikey": APIKey(
in_=APIKeyIn.header, # This line
name="X-Api-Key",
)
},
security=[{"apikey": []}],
title="<redacted>",
)
from powertools-lambda-python.
⚠️ COMMENT VISIBILITY WARNING⚠️
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
from powertools-lambda-python.
Related Issues (20)
- Maintenance: Make a PoC with memray to profile the memory usage of our utilities
- Maintenance: downgrade AWS CDK to 2.145.0 HOT 1
- Bug: v2.40.0 undocumented breaking change in Router HOT 2
- Bug: v2.40.0 undocumented breaking change in Router HOT 10
- Bug: custom serializer isn't being used by nested dict HOT 6
- Feature request: Default ALBResolver Response body to empty string instead of None HOT 2
- Maintenance: Fix codecov upload - missing token HOT 2
- Feature request: Support depth levels in feature flag keys HOT 3
- Feature request: ability to not throw error on full batch failure HOT 3
- [I Made This]: Bedrock agents with powertools HOT 2
- [Support Lambda Powertools]: BusPatrol HOT 3
- Bug: Register existing loggers function should use module logging, not source logger HOT 6
- Feature request: allow to provide an `appconfigdata` client in the `AppConfigStore` HOT 2
- Tech debt: Refactor parameters utility to use boto_config instead of config parameter
- Cookie class MaxAge produces invalid attribute, resulting to browser defaulting to session. HOT 4
- Bug: Recursive fails when using get_multiple in SSM parameters HOT 2
- Maintenance: downgrade AWS CDK to 2.145.0 HOT 1
- Bug: in_progress_expiration field is not set in Idempotency record when too close to lambda timeout HOT 6
- Bug: logger errors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powertools-lambda-python.