@affixapi/api-no-joi
v1.1.101
Published
<p align="center"> <a href="https://affixapi.com"> <img src = "https://user-images.githubusercontent.com/1145927/265553945-3ab47019-103d-4804-b6d5-101bc81f0b6b.png" width = 200px> </a> </p>
Downloads
186
Readme
@affixapi/api
@affixapi/api
's sdk
SDKs
currently supported:
- typescript
- openapi
- javascript's joi runtime types the server uses for validating request and response data
install
npm install --save @affixapi/api
docs
sdk roadmap (internal affixapi reference)
- c# / .NET
npx openapi-generator-cli generate -i docs/openapi.json --additional-properties=targetFramework=netcoreapp3.1 -o ./csharp -g csharp-netcore
list generators
$ npx openapi-generator-cli list
The following generators are available:
CLIENT generators:
- ada
SERVER generators:
- ada-server
DOCUMENTATION generators:
- asciidoc
SCHEMA generators:
- graphql-schema
CONFIG generators:
- apache2
and options:
$ npx openapi-generator-cli config-help -g csharp-netcore
CONFIG OPTIONS
targetFramework
The target .NET framework version. To target multiple frameworks, use `;` as the separator, e.g. `netstandard2.1;netcoreapp3.0` (Default: netstandard2.0)
netstandard1.3 - .NET Standard 1.3 compatible
netstandard1.4 - .NET Standard 1.4 compatible
netstandard1.5 - .NET Standard 1.5 compatible
netstandard1.6 - .NET Standard 1.6 compatible
netstandard2.0 - .NET Standard 2.0 compatible
netstandard2.1 - .NET Standard 2.1 compatible
netcoreapp2.0 - .NET Core 2.0 compatible
netcoreapp2.1 - .NET Core 2.1 compatible
netcoreapp3.0 - .NET Core 3.0 compatible
netcoreapp3.1 - .NET Core 3.1 compatible
net47 - .NET Framework 4.7 compatible
net5.0 - .NET 5.0 compatible