Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #694 from open-apparel-registry/ki/update-api-docs…
Browse files Browse the repository at this point in the history
…-title

Fix Swagger docs header

Connects #693
  • Loading branch information
Kelly Innes committed Jul 18, 2019
2 parents 6dbddfd + 9b42b07 commit dba86d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Removed

### Fixed
- Set Swagger API docs header [#694](https://github.com/open-apparel-registry/open-apparel-registry/pull/694)

### Security

Expand Down
2 changes: 1 addition & 1 deletion src/django/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _report_facility_claim_email_error_to_rollbar(claim):
@permission_classes([AllowAny])
@renderer_classes([SwaggerUIRenderer, OpenAPIRenderer])
def schema_view(request):
generator = schemas.SchemaGenerator(title='API Docs',
generator = schemas.SchemaGenerator(title='Open Apparel Registry API',
patterns=urls.public_apis)
return Response(generator.get_schema())

Expand Down

0 comments on commit dba86d3

Please sign in to comment.