Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Manchuck
Manchuck
@manchuck@phpc.social  ·  activity timestamp 2 weeks ago

Does anyone know of a good #LSP that works well with OAS Yaml files? yamlls and spectral-language-server, but none are able to navigate to the '$ref"

#neovim #openapi

  • Copy link
  • Flag this post
  • Block
M1ke
M1ke
@m1ke@phpc.social  ·  activity timestamp 2 weeks ago

@manchuck nobody really understands yaml

  • Copy link
  • Flag this comment
  • Block
Ben Ramsey
Ben Ramsey
@ramsey@phpc.social  ·  activity timestamp 2 weeks ago

@m1ke @manchuck To be fair, $ref isn’t part of YAML. YAML doesn’t really have any include/import statements. $ref was borrowed from JSON Schema for the OAS, so it makes sense that any generic YAML language servers wouldn’t support it.

  • Copy link
  • Flag this comment
  • Block
Manchuck
Manchuck
@manchuck@phpc.social  ·  activity timestamp 2 weeks ago

@ramsey @m1ke Yea same here. I was just wondering if there is an OAS LSP out there. I just started writing one this afternoon. I'm trying out writing it in Go since that is something I've been wanting to learn for a while now.

  • Copy link
  • Flag this comment
  • Block
Ben Ramsey
Ben Ramsey
@ramsey@phpc.social  ·  activity timestamp 2 weeks ago

@manchuck @m1ke I’m happy to be a guinea pig and help test it for you. I've been in OpenAPI 2.0 to 3.x migration land for months. 😅

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct