Skip to content

Instantly share code, notes, and snippets.

View agrojas's full-sized avatar
:shipit:

Agustin agrojas

:shipit:
View GitHub Profile
FROM python:alpine3.7
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
EXPOSE 5000
CMD python ./index.py
openapi: 3.0.1
info:
title: Employees API
description: This is a preliminary definition to Employees system API
version: 1.0.0
servers:
- url: https://employees.swagger.io/v2
- url: http://employees.swagger.io/v2
tags:
- name: employees
openapi: 3.0.1
info:
title: Employees API
description: This is a preliminary definition to Employees system API
version: 1.0.0
servers:
- url: https://employees.swagger.io/v2
- url: http://employees.swagger.io/v2
tags:
- name: employees
openapi: 3.0.1
info:
title: Employees API
description: This is a preliminary definition to Employees system API
version: 1.0.0
servers:
- url: https://employees.swagger.io/v2
- url: http://employees.swagger.io/v2
tags:
- name: employees

Keybase proof

I hereby claim:

  • I am agrojas on github.
  • I am agrojas (https://keybase.io/agrojas) on keybase.
  • I have a public key ASCMrfumFutqCXNYJRIFDa86JdoN_O_XG_5LjClD74tsTQo

To claim this, I am signing this object:

@agrojas
agrojas / business_rules_example.py
Last active February 10, 2022 13:00
Ejemplo de utilización de un motor de reglas con python, utilizando la libreria (https://github.com/venmo/business-rules)
import datetime
from business_rules import run_all
from business_rules.actions import BaseActions, rule_action
from business_rules.fields import FIELD_NUMERIC
from business_rules.variables import (BaseVariables,
numeric_rule_variable,
string_rule_variable)
@agrojas
agrojas / music-shared-api.yaml
Last active April 8, 2017 15:33
music-shared-api.yaml
---
consumes:
- application/json
definitions:
Album:
properties:
artists:
description: "Listado de artistas que realizaron el album"
items:
$ref: "#/definitions/Artist"