Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

mskrajnowski/docker-amf-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMF CLI Docker image

AMF CLI in a container

Usage

docker run mskrajnowski/amf-cli [AMF_OPTIONS]

Example

Translate RAML 1.0 to OpenAPI 3.0

docker run \
    --rm \
    --volume "$(realpath example/api):/tmp/example" \
    --workdir /tmp/example \
    mskrajnowski/amf-cli \
    translate api.raml \
    --format-in "RAML 1.0" \
    --media-type-in "application/yaml" \
    --format-out "OAS 3.0" \
    --media-type-out "application/yaml" \
    --resolve 'true'

About

AMF CLI Docker image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published