Skip to content

[http-server-csharp]: Issues with http-specs generated code #6803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
36 tasks done
markcowl opened this issue Apr 1, 2025 · 0 comments · Fixed by #6845
Closed
36 tasks done

[http-server-csharp]: Issues with http-specs generated code #6803

markcowl opened this issue Apr 1, 2025 · 0 comments · Fixed by #6845

Comments

@markcowl
Copy link
Contributor

markcowl commented Apr 1, 2025

  • usings reference model namespace when no models are generated
    • parameters/collection-format
    • routes
    • server/endpoint/models/undefined
    • server/path/single
    • server/versions/notversioned
    • special-headers/conditional-request
  • Does not resolve model name for anonymous response models
    • payload/pageable
  • Does not namespace qualify interfaces
    • routes
  • Does not rename csharp reserved words
    • special-words
    • type/array (Type as a namespace)
    • type/dictionary
    • type/enum/extensible
    • type/enum/fixed (String as namespace)
    • type/model/empty
    • type/model/inheritance/nested-discriminator
    • type/model/inheritance/not-discriminated
    • type/model/inheritance/recursive
    • type/model/inheritance/single-discriminator
    • type/model/usage
    • type/model/visibility
    • type/property/additional-properties
    • type/property/nullable (also String as a Mock)
    • type/property/optionality (also String as mock)
    • type/property/value-types (also String, Boolean, Decimal, Enum mocks)
    • type/scalar (also String, Boolean mocks)
  • Does not detect types from System.Text.Json.Nodes namespace when used in araay types (response), mocks
    • types/scalar
  • Does not add appropriate decorators to string union enums
    • type/enum/extensible
    • type/property/value-types
  • Does not quote enum member references as model property literal types
    • type/model/inheritance/enum discriminator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant