Fix testproj duplicate operation id

Fixes #139
openapi3
Cristi Vîjdea 2018-06-16 15:41:51 +03:00
parent d627a1bc5d
commit 6ac58b8cf7
2 changed files with 3 additions and 3 deletions

View File

@ -13,6 +13,6 @@ router.register(r'recursive', views.TodoRecursiveView)
urlpatterns = router.urls urlpatterns = router.urls
urlpatterns += [ urlpatterns += [
url(r'^(?P<todo_id>\d+)/yetanother/(?P<yetanother_id>\d+)/$', url(r'^(?P<todo_id>\d+)/yetanothers/(?P<yetanother_id>\d+)/$',
views.NestedTodoView.as_view(), ), views.NestedTodoView.as_view(), ),
] ]

View File

@ -697,9 +697,9 @@ paths:
description: A unique integer value identifying this todo. description: A unique integer value identifying this todo.
required: true required: true
type: integer type: integer
/todo/{todo_id}/yetanother/{yetanother_id}/: /todo/{todo_id}/yetanothers/{yetanother_id}/:
get: get:
operationId: todo_yetanother_read operationId: todo_yetanothers_read
description: '' description: ''
parameters: [] parameters: []
responses: responses: