Show hostname in hub API examples (#15524)

Signed-off-by: Nick Adcock <nick.adcock@docker.com>

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
This commit is contained in:
Nick Adcock 2022-08-30 14:10:58 +01:00 committed by GitHub
parent fca20e05da
commit d28ef5e470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@
<link rel="canonical" href="{{ site.docs_url }}/docker-hub/api/latest/" /> <link rel="canonical" href="{{ site.docs_url }}/docker-hub/api/latest/" />
</head> </head>
<body> <body>
<redoc spec-url="/docker-hub/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="false" suppress-warnings="false" class="hub-api"></redoc> <redoc spec-url="/docker-hub/api/{{ page.name | replace: '.md'}}.yaml" class="hub-api"></redoc>
<script src="/js/redoc.standalone.js"></script> <script src="/js/redoc.standalone.js"></script>
</body> </body>
</html> </html>

View File

@ -16,6 +16,7 @@ info:
Docker provides an API that allows you to interact with Docker Hub. Docker provides an API that allows you to interact with Docker Hub.
Browse through the Docker Hub API documentation to explore the supported endpoints. Browse through the Docker Hub API documentation to explore the supported endpoints.
tags: tags:
- name: resources - name: resources
x-displayName: Resources x-displayName: Resources
@ -1275,7 +1276,7 @@ components:
type: array type: array
items: items:
type: string type: string
example: [ urn:ietf:params:scim:api:messages:2.0:ListResponse ] example: [ "urn:ietf:params:scim:api:messages:2.0:ListResponse" ]
totalResults: totalResults:
type: integer type: integer
example: 1 example: 1
@ -1302,7 +1303,7 @@ components:
type: array type: array
items: items:
type: string type: string
example: [ urn:ietf:params:scim:api:messages:2.0:ListResponse ] example: [ "urn:ietf:params:scim:api:messages:2.0:ListResponse" ]
totalResults: totalResults:
type: integer type: integer
example: 1 example: 1
@ -2300,7 +2301,7 @@ components:
type: array type: array
items: items:
type: string type: string
example: [ urn:ietf:params:scim:schemas:core:2.0:Schema ] example: [ "urn:ietf:params:scim:schemas:core:2.0:Schema" ]
id: id:
type: string type: string
example: urn:ietf:params:scim:schemas:core:2.0:User example: urn:ietf:params:scim:schemas:core:2.0:User