stoplightio / http-spec

Utilities to normalize OpenAPI v2 and v3 objects for the Stoplight ecosystem.
https://stoplight.io
Apache License 2.0
19 stars 12 forks source link

Lenient http-spec #30

Open P0lip opened 4 years ago

P0lip commented 4 years ago

Chore summary The low-level goal is to make http-spec treat malformed input in a more graceful manner. The high-level goal is to improve UX in Studio, in particular when you open an existing spec that's incorrect.

Tasks

Additional context Prettier uses outdated typescript/es-tree parser and won't parse optional chaining operator correctly. For the time being, suggest turning off prettier rule in TSLint config until they upgrade it.

P0lip commented 4 years ago

Optional<DeepPartial<actual shape>> might be look tad controversial, therefore if you all think it's an overkill, we can stick with DeepPartial<actual shape>.

chohmann commented 3 years ago

@P0lip is this issue still relevant?

P0lip commented 3 years ago

Yeah, it's still relevant. The situation has improved over the time, but there is still plenty to be done. FWIW, Vincenzo has context on this one, as we used to ~rant~ chat about it in the past.