Skip to content

Commit 2cbfb89

Browse files
authored
Merge pull request #254 from sbs2001/update_readme
📝 Update README and web interface to include reference to API
2 parents 37b7668 + aa13cf1 commit 2cbfb89

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ DJANGO_DEV=1 python manage.py runserver
144144
In your browser access:
145145

146146
```
147-
http://127.0.0.1:8000/api/
148-
http://127.0.0.1:8000/api/packages/?name=<package_name>
149-
```
147+
http://127.0.0.1:8000/api/docs
148+
```
149+
For full documentation about API endpoints.

vulnerabilities/templates/base.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1">
1010
<body class="Site has-background-light">
1111
<nav class="navbar is-dark is-fixed-top" role="navigation" aria-label="main navigation">
12-
<div class="navbar-brand">
13-
<a class="navbar-item" href="https://github.com/nexB/vulnerablecode">
14-
VulnerableCode Logo
15-
</a>
16-
</div>
1712
<div class="navbar-menu">
1813
<div class="navbar-start">
1914
<a class="navbar-item" href="{% url 'home' %}">
2015
Home
2116
</a>
22-
<a class="navbar-item">
23-
Documentation
17+
<a class="navbar-item" href="{% url 'schema-swagger-ui' %}">
18+
API Docs
2419
</a>
2520
<div class="navbar-item has-dropdown is-hoverable">
2621

0 commit comments

Comments
 (0)