Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other Auth types and Security Schemes in OpenAPI operation definitions #321

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented Jul 12, 2023

No description provided.

@github-actions
Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
fets 0.4.0-alpha-20230712163319-3ed463f npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://299b7625.fets.pages.dev

@ardatan ardatan merged commit e95fd8f into master Jul 12, 2023
@ardatan ardatan deleted the other-security-schemes branch July 12, 2023 16:35
@github-actions
Copy link
Contributor

✅ Benchmark Results

     ✓ no_errors{server:node-http,mode:no-schema}
     ✓ expected_result{server:node-http,mode:no-schema}
     ✓ no_errors{server:node-http,mode:json-schema}
     ✓ expected_result{server:node-http,mode:json-schema}
     ✓ no_errors{server:node-http,mode:zod}
     ✓ expected_result{server:node-http,mode:zod}
     ✓ no_errors{server:uWebSockets,mode:no-schema}
     ✓ expected_result{server:uWebSockets,mode:no-schema}
     ✓ no_errors{server:uWebSockets,mode:json-schema}
     ✓ expected_result{server:uWebSockets,mode:json-schema}
     ✓ no_errors{server:uWebSockets,mode:zod}
     ✓ expected_result{server:uWebSockets,mode:zod}

     checks......................................: 100.00% ✓ 1138268     ✗ 0     
     data_received...............................: 103 MB  573 kB/s
     data_sent...................................: 71 MB   394 kB/s
     http_req_blocked............................: avg=1.57µs   min=700ns    med=1.3µs    max=1.45ms   p(90)=1.9µs    p(95)=2.4µs   
     http_req_connecting.........................: avg=1ns      min=0s       med=0s       max=134.41µs p(90)=0s       p(95)=0s      
     http_req_duration...........................: avg=218.62µs min=102.5µs  med=193.71µs max=20.81ms  p(90)=248.11µs p(95)=274.72µs
       { expected_response:true }................: avg=218.62µs min=102.5µs  med=193.71µs max=20.81ms  p(90)=248.11µs p(95)=274.72µs
     ✓ { server:node-http,mode:json-schema }.....: avg=237.98µs min=132.01µs med=212.81µs max=17.5ms   p(90)=268.32µs p(95)=297.72µs
     ✓ { server:node-http,mode:no-schema }.......: avg=230.17µs min=129.61µs med=197.61µs max=20.81ms  p(90)=257.41µs p(95)=283.12µs
     ✓ { server:node-http,mode:zod }.............: avg=234.09µs min=132.81µs med=211.21µs max=14.95ms  p(90)=263.62µs p(95)=292.62µs
     ✓ { server:uWebSockets,mode:json-schema }...: avg=211.58µs min=126.81µs med=182.81µs max=18.73ms  p(90)=234.61µs p(95)=259.72µs
     ✓ { server:uWebSockets,mode:no-schema }.....: avg=193.54µs min=102.5µs  med=168.41µs max=20.75ms  p(90)=212.01µs p(95)=235.21µs
     ✓ { server:uWebSockets,mode:zod }...........: avg=210.12µs min=126.21µs med=182.81µs max=18.11ms  p(90)=231.61µs p(95)=260.22µs
     http_req_failed.............................: 0.00%   ✓ 0           ✗ 569134
     http_req_receiving..........................: avg=22.53µs  min=11.1µs   med=19.2µs   max=12.5ms   p(90)=32µs     p(95)=36.6µs  
     http_req_sending............................: avg=10.4µs   min=4.4µs    med=7.6µs    max=7.23ms   p(90)=14.8µs   p(95)=18.8µs  
     http_req_tls_handshaking....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting............................: avg=185.68µs min=83.1µs   med=161.41µs max=20.64ms  p(90)=210.71µs p(95)=233.91µs
     http_reqs...................................: 569134  3161.806476/s
     iteration_duration..........................: avg=310.11µs min=172.81µs med=279.92µs max=21.22ms  p(90)=355.82µs p(95)=387.03µs
     iterations..................................: 569134  3161.806476/s
     vus.........................................: 1       min=1         max=1   
     vus_max.....................................: 2       min=2         max=2   

@TuvalSimha
Copy link
Collaborator

@ardatan thanks!!!!

@theguild-bot theguild-bot mentioned this pull request Oct 26, 2023
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants