base rest api endpoints.

This commit is contained in:
Steve Pulec 2016-03-01 12:03:59 -05:00
commit 45f92fb4c7
10 changed files with 208 additions and 2 deletions

9
moto/apigateway/utils.py Normal file
View file

@ -0,0 +1,9 @@
from __future__ import unicode_literals
import six
import random
def create_rest_api_id():
size = 10
chars = list(range(10)) + ['A-Z']
return ''.join(six.text_type(random.choice(chars)) for x in range(size))