Skip to content

Commit

Permalink
Merge pull request RicoSuter#417 from NSwag/master
Browse files Browse the repository at this point in the history
Release v7.1
  • Loading branch information
RicoSuter committed Nov 14, 2016
2 parents bc0d823 + 0d0c1f3 commit ce016a5
Show file tree
Hide file tree
Showing 57 changed files with 734 additions and 9,789 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ src/packages/**
[Oo]bj/
*.nugetreferenceswitcher
/src/.vs/config
**.lock.json
**/project.lock.json
/src/NSwag.AspNetCore/Output
/src/Chocolatey/Output
/src/NSwagStudio.Installer/Generated.wxs
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ NSwag is a Swagger 2.0 API (OpenAPI) toolchain for .NET, Web API, TypeScript (jQ

The project combines the functionality of Swashbuckle (Swagger generation) and AutoRest (client generation) in one tool chain. This way a lot of incompatibilites can be avoided and features which are not well described by the Swagger specification or JSON Schema are better supported (e.g. [inheritance](https://github.com/NJsonSchema/NJsonSchema/wiki/Inheritance), [enum](https://github.com/NJsonSchema/NJsonSchema/wiki/Enums) and reference handling). The NSwag project heavily uses [NJsonSchema for .NET](http://njsonschema.org) for JSON Schema handling and C#/TypeScript class/interface generation.

![ToolchainDiagram](assets/ToolchainDiagram.png)

The project is developed and maintained by [Rico Suter](http://rsuter.com) and other contributors.

**Ways to use the toolchain:**
Expand Down Expand Up @@ -39,6 +41,7 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
- [Also supports loading of .NET Core assemblies](https://github.com/NSwag/NSwag/wiki/WebApiAssemblyToSwaggerGenerator#net-core)
- [AssemblyTypeToSwaggerGenerator](https://github.com/NSwag/NSwag/wiki/AssemblyTypeToSwaggerGenerator)
- Generates a Swagger specification containing only types from .NET assemblies

**Code Generators:**

- **TypeScript Client**
Expand All @@ -49,7 +52,7 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
- JQuery with promises `JQueryPromises`
- AngularJS using $http, `AngularJS`
- Angular 2 using the http service, `Angular2`
- window.fetch API and ES6 promises, `Fetch`
- window.fetch API and ES6 promises, `Fetch` (use this template in your React/Redux app)
- Aurelia using the HttpClient from aurelia-fetch-client, `Aurelia` (based on the Fetch template)
- **CSharp Client**
- [SwaggerToCSharpClientGenerator](https://github.com/NSwag/NSwag/wiki/SwaggerToCSharpClientGenerator)
Expand All @@ -58,7 +61,7 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
- **CSharp WebAPI Controllers** (contract first/schema first development)
- [SwaggerToCSharpControllerGenerator](https://github.com/NSwag/NSwag/wiki/SwaggerToCSharpControllerGenerator)
- Generates Web API Controllers based on a Swagger specification

**Downloads**

- [Download latest **NSwagStudio MSI installer**](http://rsuter.com/Projects/NSwagStudio/installer.php) (Windows Desktop application)
Expand Down
Binary file modified assets/LayerDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/LayerDiagram.vsdx
Binary file not shown.
Binary file added assets/ToolchainDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ToolchainDiagram.vsdx
Binary file not shown.
2 changes: 1 addition & 1 deletion src/NSwag.Annotations/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag.Annotations")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2016")]
[assembly: AssemblyVersion("7.0.*")]
[assembly: AssemblyVersion("7.1.*")]
2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag.AspNet.Owin")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2016")]
[assembly: AssemblyVersion("7.0.*")]
[assembly: AssemblyVersion("7.1.*")]
4 changes: 2 additions & 2 deletions src/NSwag.AspNet.Owin/SwaggerUi/css/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype');
}
/* Google Font's Droid Sans Bold */
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 700;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype');
}
9 changes: 6 additions & 3 deletions src/NSwag.AspNet.Owin/SwaggerUi/lang/ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,25 @@ window.SwaggerTranslator.learn({
"Show/Hide":"表示/非表示",
"List Operations":"操作一覧",
"Expand Operations":"操作の展開",
"Raw":"Raw",
"Raw":"未加工",
"can't parse JSON. Raw result":"JSONへ解釈できません. 未加工の結果",
"Example Value":"値の例",
"Model Schema":"モデルスキーマ",
"Model":"モデル",
"Click to set as parameter value":"パラメータ値と設定するにはクリック",
"apply":"実行",
"Username":"ユーザ名",
"Password":"パスワード",
"Terms of service":"サービス利用規約",
"Created by":"Created by",
"See more at":"See more at",
"See more at":"詳細を見る",
"Contact the developer":"開発者に連絡",
"api version":"APIバージョン",
"Response Content Type":"レスポンス コンテンツタイプ",
"Parameter content type:":"パラメータコンテンツタイプ:",
"fetching resource":"リソースの取得",
"fetching resource list":"リソース一覧の取得",
"Explore":"Explore",
"Explore":"調査",
"Show Swagger Petstore Example Apis":"SwaggerペットストアAPIの表示",
"Can't read from server. It may not have the appropriate access-control-origin settings.":"サーバから読み込めません. 適切なaccess-control-origin設定を持っていない可能性があります.",
"Please specify the protocol for":"プロトコルを指定してください",
Expand Down
3 changes: 3 additions & 0 deletions src/NSwag.AspNet.Owin/SwaggerUi/lang/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ window.SwaggerTranslator.learn({
"Expand Operations":"展开操作",
"Raw":"原始",
"can't parse JSON. Raw result":"无法解析JSON. 原始结果",
"Example Value":"示例",
"Click to set as parameter value":"点击设置参数",
"Model Schema":"模型架构",
"Model":"模型",
"apply":"应用",
Expand All @@ -39,6 +41,7 @@ window.SwaggerTranslator.learn({
"Contact the developer":"联系开发者",
"api version":"api版本",
"Response Content Type":"响应Content Type",
"Parameter content type:":"参数类型:",
"fetching resource":"正在获取资源",
"fetching resource list":"正在获取资源列表",
"Explore":"浏览",
Expand Down
Loading

0 comments on commit ce016a5

Please sign in to comment.