Smithy :: Code Generation Freemarker Support

This package integrates the Freemarker template system with Smithy's code generation framework.

Лицензия

Лицензия

Группа

Группа

software.amazon.smithy
Идентификатор

Идентификатор

smithy-codegen-freemarker
Последняя версия

Последняя версия

0.9.10
Дата

Дата

Тип

Тип

jar
Описание

Описание

Smithy :: Code Generation Freemarker Support
This package integrates the Freemarker template system with Smithy's code generation framework.
Ссылка на сайт

Ссылка на сайт

https://github.com/awslabs/smithy
Система контроля версий

Система контроля версий

https://github.com/awslabs/smithy.git

Скачать smithy-codegen-freemarker

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/software.amazon.smithy/smithy-codegen-freemarker/ -->
<dependency>
    <groupId>software.amazon.smithy</groupId>
    <artifactId>smithy-codegen-freemarker</artifactId>
    <version>0.9.10</version>
</dependency>
// https://jarcasting.com/artifacts/software.amazon.smithy/smithy-codegen-freemarker/
implementation 'software.amazon.smithy:smithy-codegen-freemarker:0.9.10'
// https://jarcasting.com/artifacts/software.amazon.smithy/smithy-codegen-freemarker/
implementation ("software.amazon.smithy:smithy-codegen-freemarker:0.9.10")
'software.amazon.smithy:smithy-codegen-freemarker:jar:0.9.10'
<dependency org="software.amazon.smithy" name="smithy-codegen-freemarker" rev="0.9.10">
  <artifact name="smithy-codegen-freemarker" type="jar" />
</dependency>
@Grapes(
@Grab(group='software.amazon.smithy', module='smithy-codegen-freemarker', version='0.9.10')
)
libraryDependencies += "software.amazon.smithy" % "smithy-codegen-freemarker" % "0.9.10"
[software.amazon.smithy/smithy-codegen-freemarker "0.9.10"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
software.amazon.smithy : smithy-codegen-core jar 0.9.10

runtime (2)

Идентификатор библиотеки Тип Версия
software.amazon.smithy : smithy-model jar 0.9.10
org.freemarker : freemarker jar 2.3.28

Модули Проекта

Данный проект не имеет модулей.

Smithy

Build Status

Smithy defines and generates clients, services, and documentation for any protocol.

Smithy IDL

Smithy models define a service as a collection of resources, operations, and shapes.

namespace example.weather

service Weather {
    version: "2006-03-01",
    resources: [City],
    operations: [GetCurrentTime]
}

resource City {
    identifiers: { cityId: CityId },
    read: GetCity,
    list: ListCities,
    resources: [Forecast],
}

// See the full example at https://awslabs.github.io/smithy/quickstart.html#complete-example

Find out more about modeling a service with Smithy in the Quick Start guide.

Building Smithy models

The Smithy Gradle Plugin is the best way to get started with building a Smithy model. First, create a smithy-build.json file:

{
    "version": "1.0"
}

Then, apply the Smithy Gradle Plugin in your build.gradle.kts file and run gradle build:

plugins {
   id("software.amazon.smithy").version("0.5.0")
}

Finally, create your first model model/main.smithy:

namespace com.example

service ExampleService {
    version: "2020-05-27"
}

Find out more about building artifacts of your Smithy model in the Building Smithy Models guide. For more examples, see the examples directory of the Smithy Gradle Plugin repository.

License

This library is licensed under the Apache 2.0 License.

software.amazon.smithy

Amazon Web Services - Labs

AWS Labs

Версии библиотеки

Версия
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.1
0.9.0
0.8.0