Skip to content
Snippets Groups Projects
Commit 17b8e4e0 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

refactor(info): rename classes/schemas

parent 65275afc
No related branches found
No related tags found
1 merge request!18Umbenennung von Antragsformular / Dokument in Anhang
#!/usr/bin/env sh
YML_IN="spec/combined.yml"
YML_OUT="spec/combined-bundled.yml"
docker run --rm -v "$(pwd):/work" jeanberu/swagger-cli \
swagger-cli bundle -t yaml -o "/work/$YML_OUT" "/work/$YML_IN"
# Fix: files in docker are created as root:root
sudo chown "$USER:$USER" $YML_OUT
......@@ -81,10 +81,10 @@ components:
$ref: './schemas/error-response.yml'
GetApplicationResponse:
$ref: './schemas/get-application-response.yml'
GetInfoResponse:
$ref: './schemas/get-info-response.yml'
GetVersionResponse:
$ref: './schemas/get-version-response.yml'
Info:
$ref: './schemas/info.yml'
Version:
$ref: './schemas/version.yml'
UpdateDestinationRequest:
$ref: './schemas/update-destination-request.yml'
......@@ -105,5 +105,5 @@ components:
$ref: './examples/empty-body.yml'
EncryptedMessage:
$ref: './examples/encrypted-message.yml'
GetInfoResponse:
$ref: './examples/get-info-response.yml'
Info:
$ref: './examples/info.yml'
......@@ -7,7 +7,7 @@ get:
content:
application/json:
schema:
$ref: '../../schemas/get-info-response.yml'
$ref: '../../schemas/info.yml'
examples:
example-1:
$ref: '../../examples/get-info-response.yml'
$ref: '../../examples/info.yml'
File moved
......@@ -3,4 +3,4 @@ required:
- version
properties:
version:
$ref: '../schemas/get-version-response.yml'
$ref: '../schemas/version.yml'
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment