Skip to content

Commit

Permalink
Merge branch 'RESTAPI-782-error-in-utilities-view-when-the-file-is-en…
Browse files Browse the repository at this point in the history
…coded-with-utf-8' into 'master'

openapi: clarify utilities/view endpoint

See merge request firecrest/firecrest!227
  • Loading branch information
aledabin committed May 15, 2023
2 parents 63523c2 + 410fcbf commit 81d60f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions doc/openapi/firecrest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ openapi: 3.0.0
servers:
- url: "http://localhost:8000"
info:
version: 1.12.0
version: 1.13.0
title: FirecREST Developers API
description: >
This API specification is intended for FirecREST developers only. There're some endpoints that are not available in the public version for client developers.
Expand Down Expand Up @@ -893,7 +893,7 @@ paths:
schema:
type: string
get:
summary: Download a small file
summary: Download a small file (binary or text)
description: >-
Blocking call that returns the file from the specified path on the
{X-Machine-Name} filesystem.
Expand Down Expand Up @@ -1130,8 +1130,8 @@ paths:
schema:
type: string
get:
summary: View the content of a given file
description: 'View the content of a specified file in {targetPath} on the {X-Machine-Name} filesystem.'
summary: View the content of a plain text file (UTF8)
description: 'View the content of a plain text file (UTF8 chars only) in {targetPath} on the {X-Machine-Name} filesystem.'
tags:
- Utilities
parameters:
Expand Down
8 changes: 4 additions & 4 deletions doc/openapi/firecrest-developers-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ openapi: 3.0.0
servers:
- url: "http://localhost:8000"
info:
version: 1.12.0
version: 1.13.0
title: FirecREST API
description: >
FirecREST platform, a RESTful Services Gateway to HPC resources, is a
Expand Down Expand Up @@ -902,7 +902,7 @@ paths:
schema:
type: string
get:
summary: Download a small file
summary: Download a small file (binary or text)
description: >-
Blocking call that returns the file from the specified path on the
{X-Machine-Name} filesystem.
Expand Down Expand Up @@ -1139,8 +1139,8 @@ paths:
schema:
type: string
get:
summary: View the content of a given file
description: 'View the content of a specified file in {targetPath} on the {X-Machine-Name} filesystem.'
summary: View the content of a plain text file (UTF8)
description: 'View the content of a plain text file (UTF8 chars only) in {targetPath} on the {X-Machine-Name} filesystem.'
tags:
- Utilities
parameters:
Expand Down

0 comments on commit 81d60f0

Please sign in to comment.