GitHub Raw JSON API

rancher-sandbox / rancher-desktop

7,250 TypeScript

Container Management and Kubernetes on the Desktop

rancher-desktop Specification

Located in src/go/wsl-helper/pkg/dockerproxy/swagger-configuration.yaml on branch HEAD

Unknown YAML 1.0 KB
Raw YAML Specification
# Copyright © 2021 SUSE LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This is a go-swagger configuration file to generate the models for moby from
# its OpenAPI specification.

layout:
  models:
  - name: definition
    source: asset:model
    target: "{{ joinFilePath .Target .ModelPackage }}"
    file_name: "{{ pascalize .Name | snakize }}.go"
  application:
  - name: embedded_spec
    source: asset:swaggerJsonEmbed
    target: "{{ joinFilePath .Target (toPackagePath .ServerPackage) }}"
    file_name: "embedded_spec.go"