mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Fix schema typo (#7491)
This commit is contained in:
parent
374c0d4142
commit
48c327c681
|
@ -50,7 +50,7 @@ class SchemaGenerator(BaseSchemaGenerator):
|
||||||
'You have a duplicated operationId in your OpenAPI schema: {operation_id}\n'
|
'You have a duplicated operationId in your OpenAPI schema: {operation_id}\n'
|
||||||
'\tRoute: {route1}, Method: {method1}\n'
|
'\tRoute: {route1}, Method: {method1}\n'
|
||||||
'\tRoute: {route2}, Method: {method2}\n'
|
'\tRoute: {route2}, Method: {method2}\n'
|
||||||
'\tAn operationId has to be unique accros your schema. Your schema may not work in other tools.'
|
'\tAn operationId has to be unique across your schema. Your schema may not work in other tools.'
|
||||||
.format(
|
.format(
|
||||||
route1=ids[operation_id]['route'],
|
route1=ids[operation_id]['route'],
|
||||||
method1=ids[operation_id]['method'],
|
method1=ids[operation_id]['method'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user