base rest api endpoints.
This commit is contained in:
parent
2d471ecf9d
commit
45f92fb4c7
10 changed files with 208 additions and 2 deletions
9
moto/apigateway/utils.py
Normal file
9
moto/apigateway/utils.py
Normal 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue