scanapi / examples Goto Github PK
View Code? Open in Web Editor NEWScanAPI examples
License: MIT License
ScanAPI examples
License: MIT License
Add a CONTRIBUTING.md file that links to the org's one: https://github.com/scanapi/contributors/blob/master/CONTRIBUTING.md
Increase maximum elapsed time on snippets-api::get_token
response time test. Sometimes the API does not responds under a second and it makes the CI of the scanapi main repo fails:
https://github.com/scanapi/scanapi/pull/479/checks?check_run_id=3223647379
Current we have the PokèAPI example, but it only specifies two requests: https://pokeapi.co/api/v2/pokemon
and https://pokeapi.co/api/v2/${pokemon_name}
. It would be nice to have more requests specified.
Create an example using spec in multiple files.
Current, we only have examples where the specification is only in a single file api.yaml
. It would be nice to have one example with multiple files specification:
With !include
, it is possible to build your API specification in multiple files.
For example, these two files
# api.yaml
api:
endpoints:
- name: scanapi-demo
path: ${BASE_URL}
requests: !include include.yaml
# include.yaml
- name: health
path: /health/
would generate:
api:
endpoints:
- name: scanapi-demo
path: ${BASE_URL}
requests:
- name: health
path: /health/
Add a CODE_OF_CONDUCT.md file that links to the org's one: https://github.com/scanapi/contributors/blob/master/CODE_OF_CONDUCT.md
delay
keyImprove the demo-api example
The demo-api is going to be recreated scanapi/demo-api#16. We need to update the scanapi specification to match it.
Add a README.md to scanapi-demo folder explaining how to run it:
Please, see scanapi/scanapi#214
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.