Giter Site home page Giter Site logo

documentingaspnetcoreapiswithopenapi's Introduction

Documenting an ASP.NET Core API with OpenAPI / Swagger

Fully functioning finished sample code for my Documenting an ASP.NET Core API with Swagger / OpenAPI course.

The code contains everything from basic documentation with OpenAPI / Swagger (using Swashbuckle.AspNetCore) over dealing with not-so-obvious use cases, ApiExplorer, authentication and versioning right up to customizing the UI.

Built with ASP.NET Core 2.2

You can find the course over at Pluralsight: https://app.pluralsight.com/library/courses/aspdotnet-core-api-openapi-swagger/table-of-contents

documentingaspnetcoreapiswithopenapi's People

Contributors

kevindockx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

documentingaspnetcoreapiswithopenapi's Issues

BooksController

Net Core 5

    [RequestHeaderMatchesMediaType(HeaderNames.Accept,
        "application/json",
        "application/vnd.marvin.book+json")]

Severity Code Description Project File Line Suppression State
Error CS0182 An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type Library.API C:\Users\etorres\Downloads\DocumentingAspNetCoreApisWithOpenAPI-master\Finished sample\Library.API\Controllers\BooksController.cs 66 Active

changes in Swagger 5

I trying to use this project after update to asp.net core 3.1 and Swashbuckle.AspNetCore 5.6.3
in this version we can use OperationFilter like your Code.
i want to know how to solve that.

thank for your time

A specific question

Hello,
Just followed your pluralsight course and found it very interesting. Well explained and very good example summarized in this repository.

I am using a setup which has been detailed into issue #1024 at swashbuckle repo.

However I am not able to resolve the limit encountered in that setup. Would be too much to ask for your opinion?

Thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.