Giter Site home page Giter Site logo

autorest.azure-functions-csharp's People

Contributors

christothes avatar ckittel avatar csuich2 avatar dependabot[bot] avatar dsgouda avatar epet avatar fearthecowboy avatar heaths avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar miyanni avatar msftgits avatar olydis avatar pakrym avatar rikkigibson avatar shahabhijeet avatar shivangireja avatar tg-msft avatar vrdmr avatar weshaggard avatar

Stargazers

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

Watchers

 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

autorest.azure-functions-csharp's Issues

Nested object type should inherit

Describe the issue or request
When using inheritance, a nested property of type object should inherit subproperties from the parent class. This is described in the OpenAPI Specification.

    components:
      schemas:
        BasicErrorModel:
          type: object
          required:
            - message
            - code
          properties:
            message:
              type: string
            code:
              type: integer
              minimum: 100
              maximum: 600
        ExtendedErrorModel:
          allOf:     # Combines the BasicErrorModel and the inline model
            - $ref: '#/components/schemas/BasicErrorModel'
            - type: object
              required:
                - rootCause
              properties:
                rootCause:
                  type: string

Describe your ideas for solutions
Instead of reporting a conflict, the properties of the nested object in the parent class properties should be copied into the derived class.

Azure functions Isolated V4 .net 7

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #38954.

Please be aware that @newportg is the author of the original issue and include them for any questions or replies.

Details

Is there any place on the roadmap to support the latest versions of Azure Functions ?

Add JsonProperty attributes to model classes

Feature Request
It would be great if the Model generator would add JsonProperties such as "Required" and the actual filed name to generated models.

Possible Solution
Pretty straight forward: the generator adds

[JsonProperty("<fieldName>")] public string FileName { get; }

to the fields in the model class. Could be toggled on/off through a flag.

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.