@affixapi/api-with-joi
TypeScript icon, indicating that this package has built-in type declarations

1.1.101 • Public • Published

@affixapi/api

Better Uptime Badge codecov NPM

@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

https://docs.affixapi.com/

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

Readme

Keywords

Package Sidebar

Install

npm i @affixapi/api-with-joi

Weekly Downloads

34

Version

1.1.101

License

ISC

Unpacked Size

627 kB

Total Files

20

Last publish

Collaborators

  • skilbjo