Skip to content

Commit

Permalink
docs(am): add openapi specification
Browse files Browse the repository at this point in the history
  • Loading branch information
remisultan committed May 11, 2023
1 parent 8c3c6b1 commit 7a879e3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions am/current/management-api/3.21/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: api
---

<redoc
spec-url='{{ "swagger.json" }}'
native-scrollbars="true"
scroll-y-offset="50"
min-character-length-to-init-search="1"
></redoc>
1 change: 1 addition & 0 deletions am/current/management-api/3.21/swagger.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pages/am/3.x/dev-guide/management-api/management-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ AM API exposes a complete Restful API accessible to anyone wanting to script som

You can access the online API reference or the OpenAPI specification:

* 3.21 -- link:{{ '/am/current/management-api/3.21/index.html' | relative_url }}[online reference] - link:{% link /am/current/management-api/3.21/swagger.json %}[OpenAPI spec]
* 3.20 -- link:{{ '/am/current/management-api/3.20/index.html' | relative_url }}[online reference] - link:{% link /am/current/management-api/3.20/swagger.json %}[OpenAPI spec]
* 3.19 -- link:{{ '/am/current/management-api/3.19/index.html' | relative_url }}[online reference] - link:{% link /am/current/management-api/3.19/swagger.json %}[OpenAPI spec]
* 3.18 -- link:{{ '/am/current/management-api/3.18/index.html' | relative_url }}[online reference] - link:{% link /am/current/management-api/3.18/swagger.json %}[OpenAPI spec]
Expand Down

0 comments on commit 7a879e3

Please sign in to comment.