Fix schema typo (#7491)

This commit is contained in:
Justin Duke 2020-08-24 03:44:34 -07:00 committed by GitHub
parent 374c0d4142
commit 48c327c681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'],