Skip to content

Instantly share code, notes, and snippets.

Alba Rincón albarin

Block or report user

Report or block albarin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@albarin
albarin / postman-update
Last active May 6, 2019
Call to update Postman collection
View postman-update
curl -X PUT \
https://api.getpostman.com/collections/${POSTMAN_COLLECTION_UID} \
-H "Content-Type: application/json" \
-H "X-Api-Key: ${POSTMAN_API_KEY}" \
-d @postman-collection.json
@albarin
albarin / authorization.yaml
Created May 6, 2019
Authorization header
View authorization.yaml
bearer_auth:
name: Authorization
type: apiKey
in: header
description: To authenticate to any Typeform API, you'll need to pass a public API access token to the `Authorization` header in the form of `Bearer <accessToken>`.
@albarin
albarin / filter.js
Created Apr 1, 2019
Script to filter OpenAPI spec
View filter.js
const pickBy = require('lodash.pickby')
const validate = require('./schema-validator.js')
const DEFAULT_FILTERS = [
{
key: 'x-visibility',
value: 'EXTERNAL'
},
{
key: 'x-status',
View composer.json
{
"require": {
"[username]/[repository-name]": "dev-master"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/[username]/[repository-name]"
}
],
You can’t perform that action at this time.