You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ Have questions about this document or anything not covered here? Come chat with
24
24
*[Start a shell](#start-the-shell)
25
25
*[Create a superuser](#create-a-superuser)
26
26
*[Load the data](#load-the-data)
27
+
*[Building API Documentation](#build-documentation)
27
28
*[Accessing the AWX web interface](#accessing-the-awx-web-interface)
28
29
*[Purging containers and images](#purging-containers-and-images)
29
30
*[What should I work on?](#what-should-i-work-on)
@@ -261,6 +262,20 @@ You can optionally load some demo data. This will create a demo project, invento
261
262
> This information will persist in the database running in the `tools_postgres_1` container, until the container is removed. You may periodically need to recreate
262
263
this container, and thus the database, if the database schema changes in an upstream commit.
263
264
265
+
##### Building API Documentation
266
+
267
+
AWX includes support for building [Swagger/OpenAPI
268
+
documentation](https://swagger.io). To build the documentation locally, run:
269
+
270
+
```bash
271
+
(container)/awx_devel$ make swagger
272
+
```
273
+
274
+
This will write a file named `swagger.json` that contains the API specification
275
+
in OpenAPI format. A variety of online tools are available for translating
276
+
this data into more consumable formats (such as HTML). http://editor.swagger.io
277
+
is an example of one such service.
278
+
264
279
### Accessing the AWX web interface
265
280
266
281
You can now log into the AWX web interface at [https://localhost:8043](https://localhost:8043), and access the API directly at [https://localhost:8043/api/](https://localhost:8043/api/).
0 commit comments