All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.smithy.GetIntEnum.smithy Maven / Gradle / Ivy

$version: "2"

namespace alloy.test

use alloy.test#GetIntEnum
use alloy#simpleRestJson
use smithy.test#httpRequestTests
use smithy.test#httpResponseTests

apply GetIntEnum @httpRequestTests([
    {
        id: "GetIntEnumInput"
        documentation: ""
        protocol: simpleRestJson
        uri : "/get-int-enum/1"
        method: "GET"
        params: {
            aa: 1
        }
    }
])
apply GetIntEnum @httpResponseTests([
    {
        id: "GetIntEnumOutput"
        documentation: ""
        protocol: simpleRestJson
        code: 200
        body: """
        {"result":1} """
        params: {
            result: 1
        }
    }
])




© 2015 - 2024 Weber Informatics LLC | Privacy Policy